2023-11-16 22:41:38 +00:00
|
|
|
# Add permissions
|
|
|
|
dn: olcDatabase={1}mdb,cn=config
|
|
|
|
changetype: modify
|
|
|
|
delete: olcAccess
|
|
|
|
-
|
|
|
|
add: olcAccess
|
2023-11-30 04:28:49 +00:00
|
|
|
olcAccess: {0}to attrs=userPassword
|
2023-12-15 23:20:43 +00:00
|
|
|
by group/groupOfNames/member="cn=admins,ou=groups,$BASE_DN" =wcdx
|
2023-11-16 22:41:38 +00:00
|
|
|
by self write
|
|
|
|
by anonymous auth
|
|
|
|
by * none
|
2024-01-11 00:07:35 +00:00
|
|
|
olcAccess: {1}to attrs=shadowLastChange,cn,sn
|
2023-11-16 22:41:38 +00:00
|
|
|
by self write
|
|
|
|
by * read
|
|
|
|
olcAccess: {2}to dn.subtree="$BASE_DN"
|
|
|
|
by dn.exact="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" manage
|
|
|
|
by group/groupOfNames/member="cn=admins,ou=groups,$BASE_DN" write
|
|
|
|
by * read
|
|
|
|
olcAccess: {3}to *
|
|
|
|
by dn.exact="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" manage
|
|
|
|
by * read
|