I'm trying to set up an OpenLDAP server on ubuntu 9.10, which uses slapd version 2.4.18.
After initializing and populating a new hdb database, everything seems OK, but I can not get the server to return a root DSE. Running
ldapsearch -x -W -D 'cn=manager,dc=example,dc=org' \ -b '' -s base '(objectclass=*)' +
# extended LDIF # # LDAPv3 # base <> with scope baseObject # filter: (objectclass=*) # requesting: + # # search result search: 2 result: 0 Success # numResponses: 1
My hdb database ACLs are set up as follows:
olcAccess: to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn.base="cn=manager,dc=example,dc=org" write by * none olcAccess: to dn.base="" by * read olcAccess: to * by self write by dn.base="cn=manager,dc=example,dc=org" write by * read
From my experience this setup should have returned a valid root DSE, so if anyone could give me a clue as to what is going on...