ldap/server: Add ACL support for netgroups

This commit is contained in:
Timo Makinen 2020-09-11 14:45:11 +00:00
parent 8a7ad72442
commit da549daaaa

View file

@ -168,6 +168,17 @@ access to dn.one=ou=People,{{ ldap_basedn }} attrs=loginShell
by users read
by * none
# allow reads to netgroups
# TODO: change that only sysadm + host certs can read
access to dn.sub=ou=Netgroup,ou=System,{{ ldap_basedn }}
by users read
by * none
# allow reads to ou=System object itself
access to dn.base=ou=System,{{ ldap_basedn }}
by users read
by * none
# block rest of queries to ou=System tree
access to dn.sub=ou=System,{{ ldap_basedn }}
by * none