{ 'olcDatabase={1}hdb,cn=config': { 'olcRootDN': ['cn=admin,{{ LDAP_BASE_DN }}'], 'olcDatabase': ['{1}hdb'], 'olcRootPW': ['{{ PASSWORD_CRYPTED }}'], 'olcDbConfig': ['{0}set_cachesize 0 2097152 0', '{1}set_lk_max_objects 1500', '{2}set_lk_max_locks 1500', '{3}set_lk_max_lockers 1500'], 'objectClass': ['olcDatabaseConfig', 'olcHdbConfig'], 'olcSuffix': ['{{ LDAP_BASE_DN }}'], 'olcDbCheckpoint': ['512 30'], 'olcDbIndex': ['objectClass eq', 'uidNumber eq', 'gidNumber eq', 'loginShell eq', 'uid eq,pres,sub', 'memberUid eq,pres,sub', 'uniqueMember eq,pres', 'default sub', 'cn eq', 'member eq'], 'olcLastMod': ['TRUE'], 'olcDbDirectory': ['/var/lib/ldap'], 'olcAccess':[ 'to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn="cn=admin,{{ LDAP_BASE_DN }}" write by * none', 'to dn.base="" by * read', 'to * by self write by dn="cn=admin,{{ LDAP_BASE_DN }}" write by * read' ] } }