Client Test -- test client permissions
Connecting to the Directory anonymously.
Connect succeeded.
Searching for Certification Authority entry.
Received the following LDAP message:
(-6267) No such object
NOTE: Searching for the CA Entry as an anonymous user failed.
Possible reasons for failure: The CA entry does not exist,
or anonymous search permission is not granted for the CA entry.
If the accepted answer does not work for you (it didn't for me on Ubuntu), try the following.
Create ldiff file:
nano /usr/share/slapd/ldap_disable_bind_anon.ldif
Paste in this:
dn: cn=config
changetype: modify
add: olcDisallows
olcDisallows: bind_anon
dn: cn=config
changetype: modify
add: olcRequires
olcRequires: authc
dn: olcDatabase={-1}frontend,cn=config
changetype: modify
add: olcRequires
olcRequires: authc
And then run:
ldapadd -Y EXTERNAL -H ldapi:/// -f /usr/share/slapd/ldap_disable_bind_anon.ldif