fix: now using two sets of ldap groups, one for linux, one for everything else

This commit is contained in:
silver 2023-06-15 14:29:06 +01:00
parent 0411c8e18c
commit 61bd023737
4 changed files with 23 additions and 10 deletions

View file

@ -161,7 +161,7 @@
active_directory = false;
#base = "ou=users,${cfg.ldap.base}?sub?(|(skMemberOf=cn=skynet-users,ou=groups,${cfg.ldap.base}))";
base = "ou=users,${cfg.ldap.base}";
user_filter = "(skEnabled=TRUE)";
user_filter = "(memberOf=cn=skynet-users,ou=groups,${cfg.ldap.base}))";
attributes = {
username = "uid";