qzwi: adjust search queries for ldap-frontend

This commit is contained in:
Rico 2022-01-03 11:30:36 +01:00
parent e7cfcb7b2d
commit b40e2b21e1
Signed by: stillbeben
GPG key ID: AE1066B5BD0B5041

View file

@ -56,6 +56,12 @@ schemas = [
"qzwiperson",
]
[metadata.ldap-frontend.template]
"group_admin" = "(&(objectclass=qzwiperson)(uid={})(memberOf=ou=qzwi-admins,ou=Groups,dc=qzwi,dc=de))"
"group_members" = "(&(objectclass=qzwiperson)(memberOf=ou={},ou=Groups,dc=qzwi,dc=de))"
"group_nonmembers" = "(&(objectclass=qzwiperson)(!(memberOf=ou={},ou=Groups,dc=qzwi,dc=de)))"
"user_search" = "(&(objectclass=qzwiperson)(uid={}))"
[metadata.openldap.access."ou=Users,dc=qzwi,dc=de"]
manage = [
"uid=ldap-frontend,ou=Applications,dc=qzwi,dc=de",