Skip to main content
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

ローカルデータベースのドメインユーザおよびグループ名を更新します

共同作成者

CIFS サーバのローカルグループにドメインユーザやドメイングループを追加することができます。これらのドメインオブジェクトは、クラスタのローカルデータベースに登録されます。ドメインオブジェクトの名前を変更した場合は、ローカルデータベースを手動で更新する必要があります。

このタスクについて

ドメイン名を更新する Storage Virtual Machine ( SVM )の名前を指定する必要があります。

手順
  1. 権限レベルを advanced に設定します。 set -privilege advanced

  2. 適切な操作を実行します。

    ドメインユーザおよびドメイングループの更新後の処理 使用するコマンド

    ドメインユーザとドメイングループについて、正常に更新されたものと更新できなかったものを表示する

    vserver cifs users-and-groups update-names -vserver vserver_name

    ドメインユーザとドメイングループについて、正常に更新されたものを表示する

    vserver cifs users-and-groups update-names -vserver vserver_name -display-failed-only false

    更新できなかったドメインユーザとドメイングループのみを表示します

    vserver cifs users-and-groups update-names -vserver vserver_name -display-failed-only true

    更新に関するすべてのステータス情報を非表示にします

    vserver cifs users-and-groups update-names -vserver vserver_name -suppress-all-output true

  3. admin 権限レベルに戻ります。 set -privilege admin

次の例は、 Storage Virtual Machine ( SVM 、旧 Vserver ) vs1 に関連付けられているドメインユーザおよびグループの名前を更新します。前回の更新には依存する一連の名前を更新する必要があります。

cluster1::> set -privilege advanced
Warning: These advanced commands are potentially dangerous; use them
only when directed to do so by technical support personnel.
Do you wish to continue? (y or n): y

cluster1::*> vserver cifs users-and-groups update-names -vserver vs1

   Vserver:           vs1
   SID:               S-1-5-21-123456789-234565432-987654321-12345
   Domain:            EXAMPLE1
   Out-of-date Name:  dom_user1
   Updated Name:      dom_user2
   Status:            Successfully updated

   Vserver:           vs1
   SID:               S-1-5-21-123456789-234565432-987654322-23456
   Domain:            EXAMPLE2
   Out-of-date Name:  dom_user1
   Updated Name:      dom_user2
   Status:            Successfully updated

   Vserver:           vs1
   SID:               S-1-5-21-123456789-234565432-987654321-123456
   Domain:            EXAMPLE1
   Out-of-date Name:  dom_user3
   Updated Name:      dom_user4
   Status:            Successfully updated; also updated SID "S-1-5-21-123456789-234565432-987654321-123457"
                      to name "dom_user5"; also updated SID "S-1-5-21-123456789-234565432-987654321-123458"
                      to name "dom_user6"; also updated SID "S-1-5-21-123456789-234565432-987654321-123459"
                      to name "dom_user7"; also updated SID "S-1-5-21-123456789-234565432-987654321-123460"
                      to name "dom_user8"

The command completed successfully. 7 Active Directory objects have been updated.

cluster1::*> set -privilege admin