Tim’s Weblog Tim's Weblog
Tim Strehle’s links and thoughts on Web apps, managing software development and Digital Asset Management, since 2002.


OpenLDAP setup takes a while...

Configuration files are in /usr/local/etc/openldap.

List all entries:

ldapsearch -x -b 'dc=tim,dc=digicol,dc=de' '(objectclass=*)'

Create a new entry using a text file like the following:

dn: cn=Tim Strehle,dc=tim,dc=digicol,dc=de
objectclass: inetOrgPerson
jpegPhoto:< file:///data/00/00/00/616.jpg
sn: Strehle
givenname: Tim
uid: tim
userPassword: secret
mail: tim@strehle.de
mail: tim@digicol.de
labeledURI: http://tim.digicol.de/data/00/00/00/616.jpg

Then run:

ldapadd -x -D "cn=Manager,dc=tim,dc=digicol,dc=de" -w secret -f /tmp/newentry


ldapmodify -x -D "cn=Manager,dc=tim,dc=digicol,dc=de" -w secret -f /tmp/newentry

Helpful web pages: http://www.openldap.org/doc/admin/index.html http://www.heise.de/ix/artikel/2001/02/147/ http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP-GILSchemaExtension.html

Thu, 19 Dec 2002 15:59:27 +0000