From 2ea2341e1b3a73a4c6b383a5affd69e553429c0a Mon Sep 17 00:00:00 2001 From: Fugi Date: Wed, 23 Aug 2023 22:52:53 +0200 Subject: [PATCH] nextcloud: change ldap user filter to posixAccount --- modules/nextcloud.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/nextcloud.nix b/modules/nextcloud.nix index 44e1016..8122694 100644 --- a/modules/nextcloud.nix +++ b/modules/nextcloud.nix @@ -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