summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-05-04 14:02:04 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-05-04 14:02:04 +0200
commit716c5a3c8e389c1d522355b3d407afcd8a41e673 (patch)
tree9ff89544b6b8d63a52c4d4bf9966d2a905d1250e /apps/user_ldap/user_ldap.php
parent231eec7325226ef8c1cd2ff87dff168618093dd3 (diff)
downloadnextcloud-server-716c5a3c8e389c1d522355b3d407afcd8a41e673.tar.gz
nextcloud-server-716c5a3c8e389c1d522355b3d407afcd8a41e673.zip
LDAP: use the correct attribute for the display name
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rwxr-xr-xapps/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 85aab2601c6..e40d06d3d55 100755
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -110,7 +110,7 @@ class OC_USER_LDAP extends OC_User_Backend {
* Get a list of all users.
*/
public function getUsers(){
- $ldap_users = OC_LDAP::fetchListOfUsers($this->ldapUserFilter, array(OC_LDAP::conf('ldapGroupDisplayName'), 'dn'));
+ $ldap_users = OC_LDAP::fetchListOfUsers($this->ldapUserFilter, array(OC_LDAP::conf('ldapUserDisplayName'), 'dn'));
$users = OC_LDAP::ownCloudUserNames($ldap_users);
return $users;
}