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"; ldapHost = "localhost";
ldapPort = "389"; ldapPort = "389";
ldapUserDisplayName = "cn"; ldapUserDisplayName = "cn";
ldapUserFilterObjectclass = "inetOrgPerson"; ldapUserFilterObjectclass = "posixAccount";
# generated by nextcloud # generated by nextcloud
ldapGroupFilter = "(&(|(objectclass=groupOfNames)))"; ldapGroupFilter = "(&(|(objectclass=groupOfNames)))";
ldapUserFilter = "(|(objectclass=inetOrgPerson))"; ldapUserFilter = "(|(objectclass=posixAccount))";
ldapLoginFilter = "(&(|(objectclass=inetOrgPerson))(uid=%uid))"; ldapLoginFilter = "(&(|(objectclass=posixAccount))(uid=%uid))";
}; };
preStart = pkgs.writeScript "nextcloud-preStart" '' preStart = pkgs.writeScript "nextcloud-preStart" ''
# enable included LDAP app # enable included LDAP app