LDAP Search Filter
-
I was trying to allow login only to users that are members of a specific group and used the “LDAP Search Filter” but it was not working.
Thanks to the new “Test” button I got some more info about the search.
So I changed a line in “class-authentication.php”In line 1116 I changed it from:
$search_filter = ‘(&’ . $search_filter . $ldap_search_filter . ‘)’;
to:
$search_filter = ‘(&’ . $search_filter . ‘(‘ . $ldap_search_filter . ‘)’ . ‘)’;
and now it’s working, but I was wondering if it’s ok to keep this change.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘LDAP Search Filter’ is closed to new replies.