OpenLDAP Faq-O-Matic : OpenLDAP 1.2 Quick Start Guide : 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: | Add initial entries to your directory |
|