# Include Schemas
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
# Where the dynamically loaded modules are stored
modulepath /usr/lib/ldap
moduleload back_bdb
# ldbm database definitions
database bdb
suffix "dc=example,dc=com"
rootdn "cn=Manager,dc=example,dc=com"
rootpw thisp
# Root password can be created with:
# perl -e "print crypt(thisp, ac,)" > pass.txt
#rootpw {crypt}acunRNwFPEdHQ
# Where the database file are physically stored
directory "/var/lib/ldap"
# slapd process ID file
pidfile /var/run/slapd/slapd.pid
# Below can be added additional databases, indexing, and security ACL
|