--- OpenLDAP installation diary --- Jim M, April 2002 Installed openldap-2.0.23 and started its LDAP deamon namde "slapd". It didn't find the openssl header, so I created another link : "ln -s /usr/local/include/openssl/ssl.h /usr/local/include/ssl.h" Instructions at http://www.openldap.org/doc/admin/quickstart.html # mkdir /usr/local/src/LDAP; cd /usr/local/src/LDAP # wget \ ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-2.0.23.tgz # tar zxf openldap-2.0.23.tgz # cd openldap-2.0.23 # ./configure; make depend; make; make install which creates the executable /usr/local/libexec/slapd (stand-alone LDAP deamon) Then I edited /usr/local/etc/openldap/slapd.conf to include (see slapd.conf for the actual passwd) database ldbm suffix "dc=marlboro,dc=edu" rootdn "cn=Manager,dc=marlboro,dc=edu" rootpw secret directory /usr/local/var/openldap-ldbm And started it up with /usr/local/libexec/slapd Installed shell commands to use it include ldapadd and ldapsearch , Do "man" to see the details. For example, $ ldapsearch -x -s base namingContexts returns # # filter: (objectclass=*) # requesting: namingContexts # dn: namingContexts: dc=marlboro,dc=edu The default configuration which I'm using gives read access to everyone. Note that default ports are ldap:// 389 (uses TCP) ldaps:// 636 (uses SSL) ------- I've changed things around a bit since this installation, though.