mirror of
https://github.com/vegardit/docker-openldap.git
synced 2026-05-21 12:14:16 +02:00
rework ACL definition
This commit is contained in:
parent
a4891009b7
commit
ec36a934de
|
|
@ -13,24 +13,27 @@ replace: olcAccess
|
||||||
# The ".base" portion of the ACL restricts clients to querying only the top level
|
# The ".base" portion of the ACL restricts clients to querying only the top level
|
||||||
olcAccess: {0}to dn.base=""
|
olcAccess: {0}to dn.base=""
|
||||||
by * read
|
by * read
|
||||||
# allow ldap admins to change all attributes
|
olcAccess: {1}to attrs=shadowLastChange
|
||||||
olcAccess: {1}to *
|
by self write
|
||||||
by dn="${LDAP_INIT_ROOT_USER_DN}" write
|
|
||||||
by group/groupOfUniqueNames/uniqueMember="${LDAP_INIT_ADMIN_GROUP_DN}" write
|
|
||||||
by users read
|
by users read
|
||||||
by anonymous auth
|
|
||||||
by * none
|
by * none
|
||||||
olcAccess: {2}to attrs=userPassword
|
olcAccess: {2}to attrs=userPassword
|
||||||
|
by dn="${LDAP_INIT_ROOT_USER_DN}" write
|
||||||
|
by group/groupOfUniqueNames/uniqueMember="${LDAP_INIT_ADMIN_GROUP_DN}" write
|
||||||
by group/groupOfUniqueNames/uniqueMember="${LDAP_INIT_PASSWORD_RESET_GROUP_DN}" write
|
by group/groupOfUniqueNames/uniqueMember="${LDAP_INIT_PASSWORD_RESET_GROUP_DN}" write
|
||||||
by self write
|
by self write
|
||||||
by anonymous auth
|
by anonymous auth
|
||||||
by * none
|
by * none
|
||||||
olcAccess: {3}to attrs=sshPublicKey
|
olcAccess: {3}to attrs=sshPublicKey
|
||||||
|
by dn="${LDAP_INIT_ROOT_USER_DN}" write
|
||||||
|
by group/groupOfUniqueNames/uniqueMember="${LDAP_INIT_ADMIN_GROUP_DN}" write
|
||||||
by group/groupOfUniqueNames/uniqueMember="${LDAP_INIT_PASSWORD_RESET_GROUP_DN}" write
|
by group/groupOfUniqueNames/uniqueMember="${LDAP_INIT_PASSWORD_RESET_GROUP_DN}" write
|
||||||
by self write
|
by self write
|
||||||
by users read
|
by users read
|
||||||
by * none
|
by * none
|
||||||
olcAccess: {4}to attrs=shadowLastChange
|
olcAccess: {4}to *
|
||||||
by self write
|
by dn="${LDAP_INIT_ROOT_USER_DN}" write
|
||||||
|
by group/groupOfUniqueNames/uniqueMember="${LDAP_INIT_ADMIN_GROUP_DN}" write
|
||||||
by users read
|
by users read
|
||||||
|
by anonymous auth
|
||||||
by * none
|
by * none
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue