(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP 1.2 Quick Start Guide : (Answer) See if it works!
Use ldapsearch(1) to see if slapd(8) is running properly and your added entries exist by running the following command:
  ldapsearch -L -b "dc=<MY-DOMAIN>, dc=<COM>" "(objectclass=*)"
Be sure to replace <MY-DOMAIN> and <COM> with the appropriate domain components of your domain name.

For example, for "mydomain.com", use:

  ldapsearch -L -b "dc=mydomain, dc=com" -W "(objectclass=*)"

You are now ready to add more entries (e.g., using ldapadd(3) or another LDAP client), experiment with various configuration options, backend arrangements, etc.
  Enjoy!

See Also: ldapsearch(1)
[Append to This Answer]
Previous: (Answer) Add initial entries to your directory
This document is: http://www.openldap.org/faq/index.cgi?file=183
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
© Copyright 2004, OpenLDAP Foundation, info@OpenLDAP.org