From dc02748e002eae0b6e86c7a8e35ae683294b96c6 Mon Sep 17 00:00:00 2001 From: spaced Date: Wed, 20 Mar 2024 22:56:55 -0700 Subject: [PATCH] Change filter --- conf/config-dist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/config-dist.php b/conf/config-dist.php index a9d3855..511bc3f 100644 --- a/conf/config-dist.php +++ b/conf/config-dist.php @@ -92,7 +92,7 @@ Setting('LDAP_ADDRESS', 'ldap://127.0.0.1:389'); // Example value "ldap://vm-dc2 Setting('LDAP_BASE_DN', 'ou=users,dc=yunohost,dc=org'); // Example value "DC=local,DC=berrnd,DC=net" Setting('LDAP_BIND_DN', ''); // Example value "CN=grocy_bind_account,OU=service_accounts,DC=local,DC=berrnd,DC=net" Setting('LDAP_BIND_PW', ''); // Password for the above account -Setting('LDAP_USER_FILTER', '(&(objectclass=posixAccount)(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))'); // Example value "(OU=grocy_users)" +Setting('LDAP_USER_FILTER', '(&(|(objectclass=posixAccount))(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))'); // Example value "(OU=grocy_users)" Setting('LDAP_UID_ATTR', 'uid'); // Windows AD: "sAMAccountName", OpenLDAP: "uid", GLAuth: "cn" // Default permissions for new users