Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-05-04 16:02:04 +0400
committerArthur Schiwon <blizzz@owncloud.com>2012-05-04 16:02:04 +0400
commit716c5a3c8e389c1d522355b3d407afcd8a41e673 (patch)
tree9ff89544b6b8d63a52c4d4bf9966d2a905d1250e /apps
parent231eec7325226ef8c1cd2ff87dff168618093dd3 (diff)
LDAP: use the correct attribute for the display name
Diffstat (limited to 'apps')
-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;
}