From 2688db1d0ca877d86ae786e219ef82b231dbf24b Mon Sep 17 00:00:00 2001 From: Sven Feyerabend Date: Fri, 21 May 2021 23:12:49 +0200 Subject: [PATCH] fix filter example in README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d2a5a8..a714dab 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ LDAP_BIND_USER: cn=ldap_reader,dc=DOMAIN,dc=TLS LDAP_BIND_PW: TopSecret # users need to match this filter to login. #All occurrences of `%u` get replaced by the entered uid. -LDAP_USER_FILTER: '(memberof=GROUPNAME,ou=groups,dc=DOMAIN,dc=TLD)(uid=%u)' +LDAP_USER_FILTER: '(&(memberof=GROUPNAME,ou=groups,dc=DOMAIN,dc=TLD)(uid=%u))' # If user is in ADMIN_GROUP on user creation (first login) isAdmin is set to true. # Admin Users can invite external (non ldap) users. This feature makes only sense @@ -103,6 +103,7 @@ function `getLdapContacts()` in ContactsController.js (line 92) if you want to enable this function set: ``` LDAP_CONTACTS: 'true' +LDAP_GROUP_FILTER: '(memberof=GROUPNAME,ou=groups,dc=DOMAIN,dc=TLD)' ``` ### Sharelatex Configuration