diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-11-09 20:41:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 20:41:52 +0100 |
commit | 743066a3d39332cd328a5a5eafe3026f25b1bfa2 (patch) | |
tree | a6f979559b857eff0341672f522f024bbdd6d76d /apps | |
parent | 7248d9b091d50f965d777516e15788aacd75c4fa (diff) | |
parent | d97805066685c7a31e76eea97353186085ca81b8 (diff) | |
download | nextcloud-server-743066a3d39332cd328a5a5eafe3026f25b1bfa2.tar.gz nextcloud-server-743066a3d39332cd328a5a5eafe3026f25b1bfa2.zip |
Merge pull request #41333 from nextcloud/fix/41316/incomplete-displayname
fix(LDAP): prevent incomplete displaynames…
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/Group_LDAP.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/Group_LDAP.php b/apps/user_ldap/lib/Group_LDAP.php index 5ad64753c0c..a388c4acbd5 100644 --- a/apps/user_ldap/lib/Group_LDAP.php +++ b/apps/user_ldap/lib/Group_LDAP.php @@ -496,7 +496,7 @@ class Group_LDAP extends ABackend implements GroupInterface, IGroupLDAP, IGetDis $filter = $this->prepareFilterForUsersHasGidNumber($groupDN, $search); $users = $this->access->fetchListOfUsers( $filter, - [$this->access->connection->ldapUserDisplayName, 'dn'], + $this->access->userManager->getAttributes(true), $limit, $offset ); @@ -620,7 +620,7 @@ class Group_LDAP extends ABackend implements GroupInterface, IGroupLDAP, IGetDis $filter = $this->prepareFilterForUsersInPrimaryGroup($groupDN, $search); $users = $this->access->fetchListOfUsers( $filter, - [$this->access->connection->ldapUserDisplayName, 'dn'], + $this->access->userManager->getAttributes(true), $limit, $offset ); |