]> source.dussan.org Git - nextcloud-server.git/commitdiff
LDAP: use the correct attribute for the display name
authorArthur Schiwon <blizzz@owncloud.com>
Fri, 4 May 2012 12:02:04 +0000 (14:02 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Fri, 4 May 2012 12:02:04 +0000 (14:02 +0200)
apps/user_ldap/user_ldap.php

index 85aab2601c614138f46cb9d67899c288f6ea22f3..e40d06d3d550413d63ee4ceccb745fbf1a676aa8 100755 (executable)
@@ -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;
        }