[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OLC Configuration on RHEL6



--On Monday, June 11, 2012 9:59 AM -0400 Roger Martinez <roger.martinez.87@gmail.com> wrote:

Greetings all,



I've only just recently learned about configuring and using LDAP using
slapd.conf configuration. ÂRecently, however, I have been asked to
configure LDAP on a server running Red Hat Enterprise Linux 6. ÂI've run
into a few problems. Â


First of all, when I try to connect via LDAP Browser/Editor to view the
cn=config list, it connects but gives me Error 32 - No Such Object. ÂThe
following is the the cfg file that Ldap Browser/Editor uses to connect to
the session:



#################################
# Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â #
# LDAP Browser v2.8 config file #
# Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â #
# Âcn=config all attributes   #
# Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â #
#################################


host=[my server's IP address]Â
port=389
sslport=636
basedn=cn=config
version=3
managerdn=cn=Manager,cn=config
managerlogin=no
autoconnect=no
leafindicatortype=int
leafindicator=numsubordinates
managereferrals=no
supportsmovetree=no
derefaliases=never
sorttree=ascending
ldap.attributes.list=* +





The managerdn i got from the olcRootDN line in olcDatabase={2}bdb.ldif
file. ÂAnd the rest i got from zytrax.com online book
(http://www.zytrax.com/books/ldap/ch14/cn=config.cfgÂ;)


My question is, is there any other configuration or any other additional
steps that I need to take after yum install in order to make this LDAP
server functional? ÂWhat have I missed? ÂAny help will be much
appreciated!Â

You need to use the rootdn for the cn=config DB, not the bdb database rootdn. Zytrax's information is highly unreliable, I would avoid using their documentation for anything.

I would first get binding as the cn=config db's rootdn working via ldapsearch before trying to use a browser. Most ldap browsers also do not understand cn=config. Apache Directory Studio would be an exception.

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration