http://www.openldap.org/doc/admin/quickstart.html
Starting at step 8, your conf file would be as follows::
--------------------------------------
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4
2000/08/26 17:06:18
kurt Exp $
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/rfc822-MailMember.schema
include /etc/openldap/schema/redhat/autofs.schema
include /etc/openldap/schema/redhat/kerberosobject.schema
#
access to * by * read
#
pidfile /var/run/slapd.pid
#
database ldbm
suffix "dc=azapple,dc=com"
directory /var/lib/ldap
rootdn "cn=Manager,dc=azapple,dc=com"
rootpw secret
Step 9 (make sure slapd is running, then):
$ ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
Should return:
dn:
namingContexts: dc=azapple,dc=com
This verifies that your conf file is ready, even if you have
*no* records.