ldapsearch will not output anything without -D rootdn

Posted by Jun Zhang on Server Fault See other posts from Server Fault or by Jun Zhang
Published on 2010-10-31T00:56:35Z Indexed on 2011/03/01 7:26 UTC
Read the original article Hit count: 501

Filed under:

My installation and setup of slapd 2.4.21 is done on Ubuntu 10.04 according to the official doc. Now ldapsearch -x will give me nothing, but ldapsearch -x -Drootdn -w rootpw will output everything. I do have

olcAccess: to * by dn="cn=Manager,dc=a,dc=b" write by * read

in the backend configuration. What's wrong? "getent passwd testuser" output nothing, must be due to it. Thank you in advance.

nugulus

© Server Fault or respective owner

Related posts about openldap