vserver services name-service ldap check
Display validation status of a LDAP configuration
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
Use the vserver services name-service ldap check command to check the status of the LDAP configuration.
Parameters
- {
[-fields <fieldname>,…] -
If you specify the
-fields <fieldname>, …parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - |
[-instance ]} -
If you specify the
-instanceparameter, the command displays detailed information about all fields. -vserver <Vserver Name>- Vserver-
Use this parameter to specify the Vserver whose LDAP configuration needs to be validated.
[-client-config <text>]- Client Configuration Name-
Use this parameter to specify the LDAP client configuration which is assigned to LDAP configuration for the specified Vserver.
[-ldap-status {up|down}]- LDAP Status-
Use this parameter to display information only about LDAP configurations with a status that matches the value you specify.
[-ldap-status-details <text>]- LDAP Status Details-
Use this parameter to display information only about LDAP configurations with a status detail that matches the value you specify.
Examples
The following example checks the LDAP configuration on the Vserver vs0:
cluster1::> vserver services name-service ldap check -vserver vs0
Vserver: vs0
Client Configuration Name: c1
LDAP Status: up
LDAP Status Details: Successfully connected to LDAP server "10.11.12.13".