Skip to content
Snippets Groups Projects
Commit 716c5a3c authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

LDAP: use the correct attribute for the display name

parent 231eec73
Branches
No related tags found
No related merge requests found
...@@ -110,7 +110,7 @@ class OC_USER_LDAP extends OC_User_Backend { ...@@ -110,7 +110,7 @@ class OC_USER_LDAP extends OC_User_Backend {
* Get a list of all users. * Get a list of all users.
*/ */
public function getUsers(){ 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); $users = OC_LDAP::ownCloudUserNames($ldap_users);
return $users; return $users;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment