[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

LDAP tips



>Does anyone know of a good way to setup a LDAP directory as in for >using it as a e-mail address book for users?

I recently fought (and won) that battle myself. The tricks as I remember...

Edit /etc/openldap/slapd.conf as indicated in the documentation and use a clear test password for the manager account.

Your .ldif file needs to declare object classes before you get can get rolling. Refer to these helpfull pages.

http://www.direct-to-linux.com/TUTORIALS/LinuxTutorialLDAP.html

http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP-SLAPD-LDIF-V1-config.htmlt

Editing my .ldif file (exported from netscape) turned out to be a very edit-by-hand affair.

add your data from a file like so.

ldapadd -D "cn=manager,dc=localhost,dc=localdomain" -x -w your_password < file.ldap

I was not able to get the SASL/GSSAPI authentication working on my installation. Perhaps because my computer does not have a fully qualified domain name?? If you figure it out please fill me in! I was also not able to use an encryped password in the slapd.conf file (for access without the -x option)

Regards,
Ben Dugdale



---
[This E-mail scanned for viruses]





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]