bundles/openldap: fix access

This commit is contained in:
Franzi 2021-12-18 10:31:06 +01:00
parent fe36345e5f
commit 7d2e00d46f
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -73,11 +73,13 @@ access to *
% for tree, matches in sorted(conf.get('access', {}).items()):
# ${tree}
% for access, user in sorted(matches.items()):
% for access, users in sorted(matches.items()):
% for user in sorted(users):
access to dn.sub="${tree}"
by dn.exact="${user}" ${access}
by * break
% endfor
% endfor
# / ${tree}
% endfor
@ -88,11 +90,11 @@ access to dn.children="ou=Applications,dc=qzwi,dc=de"
by anonymous auth
by * break
access to dn.sub="ou=Users,dc=qzwi,dc=de"
by dn.children="ou=Applications,dc=qzwi,dc=de"
read by * break
by dn.children="ou=Applications,dc=qzwi,dc=de" read
by * break
access to dn.sub="ou=Groups,dc=qzwi,dc=de"
by dn.children="ou=Applications,dc=qzwi,dc=de"
read by * break
by dn.children="ou=Applications,dc=qzwi,dc=de" read
by * break
database monitor
rootDN "cn=admin,cn=Monitor"