mirror of
https://github.com/nextcloud/server.git
synced 2026-06-29 12:24:50 +02:00
LDAP: use the correct attribute in filter
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user