slapd.conf more readable in ITS:
-------------------------------------------------------------------------------- include /home/michael/temp/openldap-testbed-its7390/schema/init.schema
# Define global ACLs to disable default read access.
pidfile /home/michael/temp/openldap-testbed-its7390/run/slapd-1.pid argsfile /home/michael/temp/openldap-testbed-its7390/run/slapd-1.args
modulepath /opt/openldap-RE24/libexec/openldap
moduleload back_hdb.la moduleload rwm.la
# Root DSE: allow anyone to read it access to dn.base="" by * read # Subschema (sub)entry DSE: allow anyone to read it access to dn.base="cn=Subschema" by * read
database hdb
suffix "dc=example,dc=com" directory /home/michael/temp/openldap-testbed-its7390/db/bv rootdn "uid=diradm,dc=example,dc=com" rootpw testsecret lastmod on
# Index-Konfiguration index objectClass eq
checkpoint 200 5
# Entries to cache in memory cachesize 1000 # Search results to cache in memory idlcachesize 100
sizelimit -1
# DB_CONFIG parameters dbconfig set_cachesize 0 20000000 1 dbconfig set_lg_regionmax 262144 dbconfig set_lg_bsize 262144 dbconfig set_lg_max 10485760 dbconfig set_tas_spins 0
access to dn.subtree="dc=example,dc=com" by * write
overlay rwm rwm-rewriteEngine on
# rewrite map for (uid=foo) with DN of entry as result rwm-rewriteMap slapd uid2dn "ldap:///dc=example,dc=com?entryDN?sub?uid="