Problem scenario
You want to test your OpenLDAP configuration. You run an “ldapsearch -x” command in hope that it wil l return a “Success.” You run the “ldapsearch -x” command, and you see this:
“# search result
search: 2
result: 32 No such object”
What should you do?
Solution
Verify your /etc/ldap/ldap.conf is configured correctly. The BASE stanza should have one or possibly three “dc=” entries separated by commas.
…
Continue reading “How Do You Troubleshoot an ldapsearch -x command Returning “No such object”?”