Skip to content
Snippets Groups Projects
Commit 977c4d18 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

LDAP: use the correct attribute in filter

parent 246221a6
Branches
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ class USER_LDAP extends lib\Access implements \OCP\UserInterface {
$search = empty($search) ? '*' : '*'.$search.'*';
$filter = $this->combineFilterWithAnd(array(
$this->connection->ldapUserFilter,
$this->connection->ldapGroupDisplayName.'='.$search
$this->connection->ldapUserDisplayName.'='.$search
));
\OCP\Util::writeLog('user_ldap', 'getUsers: Options: search '.$search.' limit '.$limit.' offset '.$offset.' Filter: '.$filter, \OCP\Util::DEBUG);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment