LDAP: use the correct attribute for the display name

remotes/origin/stable4
Arthur Schiwon 14 years ago
parent 231eec7325
commit 716c5a3c8e
  1. 2
      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;
}

Loading…
Cancel
Save