Retrieving LDAP Naming Services Information

You can retrieve information about LDAP naming services by using the ldaplist
utility. This LDAP utility lists the naming information from the LDAP servers in
LDIF format. It can be useful for troubleshooting. See ldaplist(1) for further information.

Listing All LDAP Containers

ldaplist displays its output with a blank line separating records, which is helpful
for big multiline records.

Note - The output of ldaplist depends upon the client configuration. For example, if the
value of ns_ldap_search is sub rather than one, ldaplist lists all the entries
under the current search baseDN.