Skip to main content
A newer release of this product is available.

vserver services name-service ldap modify

Contributors
Suggest changes

Modify an LDAP configuration

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

Description

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.

Parameters

-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 command, that you want to associate with the Vserver. The value of the bind-as-cifs-server parameter on this LDAP client should be false if the CIFS server of the associated data Vserver does not exist or exists in workgroup mode.

[-skip-config-validation <true>] - Skip Configuration Validation

Use this parameter to skip the LDAP configuration validation.

The LDAP client configuration, specified by the -client-config parameter, that you want to associate with the Vserver is validated to verify that at least one of the LDAP servers is reachable, and is providing LDAP services.

.

The validation fails if ONTAP was unable to connect to any LDAP server with the specified -client-config .

Examples

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