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.
Description
The vserver services name-service ldap create
command associates an LDAP client configuration with a Vserver.
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 the
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 associates the LDAP client configuration "corp" with the Vserver "vs1":
cluster1::> vserver services name-service ldap create -vserver vs1 -client-config corp