dn: olcDatabase={1}hdb,cn=config
objectclass: olcDatabaseConfig
objectclass: olcHdbConfig
olcaccess: {0}to dn.subtree="ou=subtree,dc=domain,dc=tld" by self write by dn="cn=subadmin,dc=domain,dc=tld" write by users read by anonymous none
olcaccess: {1}to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn="cn=admin,dc=mpbteam,dc=de" write by * none
olcaccess: {2}to dn.base="" by * read
olcaccess: {3}to * by self write by dn="cn=admin,dc=domain,dc=tld" write by * read
I got stuck in understanding ACL-Order. Users of subtree and dn: cn=subadmin,dc=domain,dc=tld should be able to modify their own passwords, but they aren't with this ruleset, as subtree-admin isn't, but subtree admin can write new dn's. If I remove ACL {0} users can modify again, but I need a subtree-admin with write access for each subtree.
regards,
Maik