nextcloud: change ldap user filter to posixAccount

This commit is contained in:
Lyn Fugmann 2023-08-23 22:52:53 +02:00
parent 91e5639123
commit 2ea2341e1b
Signed by: fugi
GPG key ID: 4472A20091BFA792

View file

@ -58,11 +58,11 @@ in
ldapHost = "localhost";
ldapPort = "389";
ldapUserDisplayName = "cn";
ldapUserFilterObjectclass = "inetOrgPerson";
ldapUserFilterObjectclass = "posixAccount";
# generated by nextcloud
ldapGroupFilter = "(&(|(objectclass=groupOfNames)))";
ldapUserFilter = "(|(objectclass=inetOrgPerson))";
ldapLoginFilter = "(&(|(objectclass=inetOrgPerson))(uid=%uid))";
ldapUserFilter = "(|(objectclass=posixAccount))";
ldapLoginFilter = "(&(|(objectclass=posixAccount))(uid=%uid))";
};
preStart = pkgs.writeScript "nextcloud-preStart" ''
# enable included LDAP app