# before the first database definition database config # NOTE: the suffix is hardcoded as cn=config and # MUST not have a suffix directive # normal rules apply - rootdn can be anything you want # but MUST be under cn=config rootdn "cn=admin,cn=config" pidfile ./pidfile.pid include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/nis.schema database mdb suffix "dc=example,dc=com" rootdn "cn=root,dc=example,dc=com" rootpw secret index objectClass eq