LDAP: use the correct attribute for the display name

This commit is contained in:
Arthur Schiwon 2012-05-04 14:02:04 +02:00
parent 231eec7325
commit 716c5a3c8e
1 changed files with 1 additions and 1 deletions

View File

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