include /etc/ldap/schema/core.schema include /etc/ldap/schema/cosine.schema include /etc/ldap/schema/nis.schema include /etc/ldap/schema/inetorgperson.schema # Allow LDAPv2 client connections. This is NOT the default. allow bind_v2 #disallow bind_anon #schemacheck on pidfile /var/run/slapd/slapd.pid argsfile /var/run/slapd/slapd.args loglevel 50 # DB modulepath /usr/lib/ldap moduleload back_bdb backend bdb #checkpoint 51230 database bdb suffix "dc=pb" rootdn "cn=admin,dc=pb" rootpw deLTa2019 cachesize 10000 # multi master moduleload syncprov.la moduleload accesslog.la serverID 2 checkpoint 10240 720 directory "/var/lib/ldap" index objectClass eq lastmod on access to dn.base="" by * read access to * by dn="cn=admin,dc=example,dc=net" write by * read