Browse slapd Database
To see the format of the Distinguished Names in the user database, you can browse the database using the ldapsearch command.
To list the contents of the slapd database
Issue the following command:
ldapsearch '(objectclass=*)' -H ldap://myHost.mydomain.com:389 -b "dc=myDomain,dc=com" -x
Note: You need to know the root domain name of the slapd database, defined above as "dc=myDomain,dc=com". In many cases, it corresponds to the domain and domain suffix of your host name. If this approach does not work, consult your system administrator.