Ubuntu 11.04 and OpenLDAP - where is the config?

Posted by Tom SKelley on Server Fault See other posts from Server Fault or by Tom SKelley
Published on 2012-09-16T17:05:15Z Indexed on 2012/09/21 21:42 UTC
Read the original article Hit count: 317

Filed under:
|
|
|

I've been asked to setup a multimaster LDAP environment on Ubuntu 11.04 - instead of a single master server. I cloned the master server and recreated it into two VMs. I am trying to follow the instructions on the OpenLDAP documentation here:

http://www.openldap.org/doc/admin24/replication.html

and it talks about modifying the cn=config tree within LDAP. The subdirectory tree appears to be there at:

/etc/ldap/slapd.d/

and a

slapcat -b cn=config

drops out a load of config information. When I try to connect using a browser and the admin bind credentials:

ldapsearch -D '<adminDN>' -w <password> -b 'cn=config'

I get:

# extended LDIF
#
# LDAPv3
# base <> (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

I don't see the config context when I connect via an LDAP browser either. I'm sure I'm missing something, but I can't see what it is!

© Server Fault or respective owner

Related posts about ubuntu

Related posts about configuration