Working With Oracle® Solaris 11.2 Directory and Naming Services: LDAP

Exit Print View

Updated: July 2014
 
 

Checking Server Data From a Non-Client Machine

To check for information on a system that has no existing LDAP client, use the ldapsearch command. The information that is displayed depends on the filter you use for searching. The following example lists all of the containers in the DIT:

# ldapsearch -h server1 -b "dc=west,dc=example,dc=com" -s one "objectclass=*" 

For a list of options and filters you can use with the ldapsearch command, see the ldapsearch (1) man page.