LDAP: use the correct attribute for the display name
This commit is contained in:
parent
231eec7325
commit
716c5a3c8e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue