Use the lsldapserver command to display the most recent details for all configured Lightweight Directory Access Protocol (LDAP) servers.
Attribute | Value |
---|---|
id | Specifies the ID of the LDAP server. |
name | Specifies the name of the LDAP server. |
error_sequence_number | Specifies the sequence number of non-fixed LDAP server error log. |
IP_address | Specifies the IP address of the LDAP server (Internet Protocol Versions 4 and 6). |
port | Specifies the LDAP server port. The default value is 389. The value for TLS security is 389 and the value for SSL security is 636. |
cert_set | Specifies the certificate setting if a certificate is configured. |
preferred | Specifies the server preference (preferred server). |
base_dn | Specifies the base distinguished name (DN) that is used in LDAP searches. |
lsldapserver -delim :
The resulting output:
id:name:error_sequence_number:IP_address:port:cert_set:preferred:base_dn 0:ldapserver0::192.135.60.3:389:no:yes:ou=users,dc=company,dc=com 1:ldapserver1:12:192.135.60.4:389:no:no:ou=users,dc=company,dc=com 2:ldapserver2::192.135.60.5:389:yes:yes:ou=users,dc=company,dc=com 3:ldapserver3::192.135.60.6:389:yes:no:ou=users,dc=company,dc=com
lsldapserver -delim : ldapserver0
The resulting output:
id:0 name:ldapserver0 error_sequence_number: IP_address:192.135.60.3 port:389 cert_set:no preferred:yes base_dn:ou=users,dc=company,dc=com