nextcloud: change ldap user filter to posixAccount
This commit is contained in:
parent
91e5639123
commit
2ea2341e1b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue