include         /etc/ldap/schema/core.schema
include         addressbook.schema

modulepath	/usr/lib/ldap
moduleload	back_bdb

database        bdb
suffix          "dc=example,dc=com"
directory       "database"

access to attribute=userPassword
        by dn="cn=admin,dc=example,dc=com" write
        by dn="cn=Ample Exam,ou=Sales,ou=People,dc=example,dc=com" write
        by anonymous auth
        by self write
        by * none

access to *
        by dn="cn=admin,dc=example,dc=com" write
        by dn="cn=Ample Exam,ou=Sales,ou=People,dc=example,dc=com" write
        by * read
