summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-10-27 14:55:17 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-10-27 17:46:01 +0200
commit977c4d184402fee27e262dffa00a7ea32ba5fe2c (patch)
treedaad379b21568e8303fa4dc6d0f481adba76df99 /apps/user_ldap/user_ldap.php
parent246221a677373d5ab709395e6f4e08576a3118a8 (diff)
downloadnextcloud-server-977c4d184402fee27e262dffa00a7ea32ba5fe2c.tar.gz
nextcloud-server-977c4d184402fee27e262dffa00a7ea32ba5fe2c.zip
LDAP: use the correct attribute in filter
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rw-r--r--apps/user_ldap/user_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 916d3f1d46a..2b789198014 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -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);