http://home.kabelfoon.nl/~hvdkooij/Netscape_and_OpenLDAP_v2/netscape-and-openldap-v2.html
The above HOWTO assumes that you are somewhat familiar with OpenLDAP, so here's the basic steps I used to get it running. I grabbed the sources for LDAP and BerkeleyDB
http://www.openldap.org
http://www.sleepycat.com
Obtain Berkeley DB from http://www.sleepycat.com
http://www.sleepycat.com/update/3.2.9/db-3.2.9.tar.gz
Follow the build instructions. For this demo, I built it in the default location. Build OpenLDAP (v2.07) using the following line.
$ env CPPFLAGS="-I/usr/local/BerkeleyDB/include" \ LDFLAGS="-L/usr/local/BerkeleyDB/lib" ./configure $ make depend; make; su; make install
http://www.openldap.org/faq/data/cache/40.html
Once OpenLDAP is built. Now some notes from following the HOWTO
Note the the root password is secret slapd.conf. It is stored in clear text (not readable, but root)and passed in clear text
This case the password is "secret"
Add the mull.schema
make modifications to slapd.conf
Create the debian.ldif file. This file provides data to populate the database. First, you create the first node which is the top, and then define data below it. The data must match the schema when it is inserted.