vserver services name-service ldap modify

Modify an LDAP configuration

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


The vserver services name-service ldap modify command modifies an LDAP client configuration's association with a Vserver.
Note: Make sure that you remove 'ldap' from the Vserver's -ns-switch and -nm-switch configurations and test connectivity before disabling a working LDAP configuration.


-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 modifies the LDAP client configuration used by Vserver "vs1" to "corpnew":
cluster1::> vserver services name-service ldap modify -vserver vs1 -client-config corpnew