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

ONTAP NFS SVMのLDAPソースを確認する

共同作成者 netapp-barbe netapp-aherbin

ネーム サービスのLDAPソースがSVMのネーム サービス スイッチ テーブルに正しく登録されていることを確認する必要があります。

手順
  1. 現在のネーム サービス スイッチ テーブルの内容を表示します:

    vserver services name-service ns-switch show -vserver svm_name

    次のコマンドは、SVM My_SVMの結果を表示します:

    ie3220-a::> vserver services name-service ns-switch show -vserver My_SVM
                                   Source
    Vserver         Database       Order
    --------------- ------------   ---------
    My_SVM          hosts          files,
                                   dns
    My_SVM          group          files,ldap
    My_SVM          passwd         files,ldap
    My_SVM          netgroup       files
    My_SVM          namemap        files
    5 entries were displayed.

    `namemap`名前マッピング情報を検索するソースとその順序を指定します。UNIXのみの環境では、このエントリは不要です。名前マッピングは、UNIXとWindowsが混在する環境でのみ必要です。

  2. `ns-switch`エントリを必要に応じて更新します:

    ネーム サービス スイッチ エントリを更新する場合…​ コマンドを入力してください…​

    ユーザ情報

    vserver services name-service ns-switch modify -vserver vserver_name -database passwd -sources ldap,files

    グループ情報

    vserver services name-service ns-switch modify -vserver vserver_name -database group -sources ldap,files

    ネットグループ情報

    vserver services name-service ns-switch modify -vserver vserver_name -database netgroup -sources ldap,files