4711l1

Listing 1. Example of slapd.conf

include /etc/openldap/slapd.at.conf

include /etc/openldap/slapd.oc.conf
schemacheck off

pidfile /var/slapd.pid
argsfile /var/slapd.args

database ldbm
suffix "dc=azlan, dc=com"
rootdn "cn=manager, dc=azlan, dc=com"
rootpw secret

directory       /var/openldap-ldbm

lastmod on
index cn,uid

loglevel 64

defaultaccess   read

access to attr=userpassword
       by self write
       by dn="cn=manager, dc=azlan, dc=com" write
       by * compare

