LDAP: use the correct attribute for the display name
This commit is contained in:
parent
231eec7325
commit
716c5a3c8e
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue