[techtalk] LDAP question

Anmol Khirbat anmol at teknema.com
Sat Jul 8 13:59:00 EST 2000


On Sat, 8 Jul 2000 moebius at ip-solutions.net wrote:

> Hey All,
>   I'm hoping someone a little more experienced w/LDAP can help me out. A
> couple of basic questions:
> 1) when the openldap faq say to put root crypto password in the conf file
> do they mean just copying it from /etc/shadow? Or is there some method of
> encryption in ldap that I'm missing?

The `root' over here is the root DN and *not* the root user on your unix
system. You need to type a 13 character crypted password in the conf
file, which will be the password for the root DN. You could grab one from
your /etc/shadow or make your own like this
perl -e 'print crypt "the passwd", "xy"'.  

Check out rootpw option in the slapd.conf(5) man page for more stuff.
http://www.openldap.org/software/man.cgi?query=slapd.conf

bye :)
Anmol







More information about the Techtalk mailing list