[plug] Getting Started with LDAP

Timothy White weirdit at gmail.com
Wed Apr 20 21:51:14 WST 2005


I'm going to start pulling my hair out soon.
I have installed openldap (slapd) on a fresh Ubuntu system. I plan on
eventually having everything authenticate via ldap (through pam, nss,
nis, or samba depending on the platform)
Unfortunately I can't seem to get the system started. It appears that
although all the Schemes and stuff is installed, I'm not given a base
system. No matter how hard I try I can get the base of the LDAP tree
to be created. I know that the base is an object of the form
"dc=white,dc=lan" and from what I can see browsing the Schemes it
should be an objectclass domain.

>From what I've seen in the slapd.conf file I need the user
"cn=admin,dc=white,dc=lan" set up before I can actually access the
LDAP over LDAP. Before that I need to do offline operations direct to
the database. I've tried browsing the database using
directory-administrator and that requires credentials that don't yet
exist in the database, and gq tells me that "Searching for
'dc=white,dc=lan' on 'localhost': No such object"

So any help would be nice. I tried slapadd and ldapadd and with
slapadd it appeared to create a user but the root of the directory
(dc=white,dc=lan) still isn't created.

Thanks

Tim



More information about the plug mailing list