dn: olcDatabase={нужная вам цифра}hdb,cn=config
changetype: modify
replace: olcAccess
olcAccess: {0}to attrs=userPassword,shadowLastChange by
dn="ou=admins,dc=server,dc=world" write by anonymous auth by self write by * none
olcAccess: {1}to dn.base="" by * read
olcAccess: {2}to dn.subtree="здесь подкаталог" by group.exact="группа для разрешений" write by * read
olcAccess: {3}to * by group.exact="ou=admins,dc=server,dc=world" write by * read
manpages.ubuntu.com/manpages/vivid/en/man8/pam_tty...