vserver services name-service ldap create

Create an LDAP configuration

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.


The vserver services name-service ldap create command associates an LDAP client configuration with a Vserver.


-vserver <Vserver Name> - Vserver
This parameter specifies the Vserver with which you want to associate the LDAP client configuration. A data Vserver or admin Vserver can be specified.
-client-config <text> - LDAP Client Configuration
This parameter specifies the name of the LDAP client configuration, defined under vserver services name-service ldap client, that you want to associate with the Vserver.
-client-enabled {true|false} - (DEPRECATED)-LDAP Client Enabled
Note: This parameter has been deprecated and might be removed in a future version of Data ONTAP.
This parameter specifies whether the Vserver can use the LDAP configuration.
Note: You must also include the 'ldap' method in the Vserver's -ns-switch and/or -nm-switch parameters before the Vserver uses an enabled LDAP configuration.


The following example associates the LDAP client configuration "corp" with the Vserver "vs1":
cluster1::> vserver services name-service ldap create -vserver vs1 -client-config corp