OpenLDAP
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 or 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
