本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
將 LDAP 用戶端配置與 ONTAP NFS SVM 關聯
若要在 SVM 上啟用 LDAP 、您必須使用 vserver services name-service ldap create
用於將 LDAP 用戶端組態與 SVM 建立關聯的命令。
開始之前
-
LDAP網域必須已存在於網路中、且SVM所在的叢集必須能夠存取。
-
SVM上必須存在LDAP用戶端組態。
步驟
-
在 SVM 上啟用 LDAP :
vserver services name-service ldap create -vserver vserver_name -client-config client_config_name
這 `vserver services name-service ldap create`如果ONTAP無法聯繫名稱伺服器,則該命令將執行自動設定驗證並報告錯誤訊息。
下列命令可在「VS1」SVM上啟用LDAP、並將其設定為使用「LDAP1」LDAP用戶端組態:
cluster1::> vserver services name-service ldap create -vserver vs1 -client-config ldap1 -client-enabled true
-
使用vserver services name-service LDAP檢查命令來驗證名稱伺服器的狀態。
下列命令可驗證SVM VS1上的LDAP伺服器。
cluster1::> vserver services name-service ldap check -vserver vs1 | Vserver: vs1 | | Client Configuration Name: c1 | | LDAP Status: up | | LDAP Status Details: Successfully connected to LDAP server "10.11.12.13". |