From b40e2b21e1542a6a01288f0d0b290fc0a6e11294 Mon Sep 17 00:00:00 2001 From: Rico Ullmann Date: Mon, 3 Jan 2022 11:30:36 +0100 Subject: [PATCH] qzwi: adjust search queries for ldap-frontend --- nodes/qzwi.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nodes/qzwi.toml b/nodes/qzwi.toml index fc56ae9..a580fc1 100644 --- a/nodes/qzwi.toml +++ b/nodes/qzwi.toml @@ -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",