LDAP: use the correct attribute in filter

This commit is contained in:
Arthur Schiwon 2012-10-27 14:55:17 +02:00
parent 246221a677
commit 977c4d1844
1 changed files with 1 additions and 1 deletions

View File

@ -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);