summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2023-11-11 00:29:43 +0100
committerGitHub <noreply@github.com>2023-11-11 00:29:43 +0100
commit195b434f7b0fb0718d2a363d94d854ce9178d9a0 (patch)
tree5516ddcf158a247e46e32f7829d5db72f1f92072 /apps
parent8e29b026aaa5ae9ca9a3ab85743097a37f9a3573 (diff)
parent369d99f51340ed71c34d500d32f520225c97c198 (diff)
downloadnextcloud-server-195b434f7b0fb0718d2a363d94d854ce9178d9a0.tar.gz
nextcloud-server-195b434f7b0fb0718d2a363d94d854ce9178d9a0.zip
Merge pull request #41367 from nextcloud/backport/41333/stable27
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/Group_LDAP.php4
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 2f7b2c24ab3..70dca6a40ca 100644
--- a/apps/user_ldap/lib/Group_LDAP.php
+++ b/apps/user_ldap/lib/Group_LDAP.php
@@ -494,7 +494,7 @@ class Group_LDAP extends BackendUtility implements GroupInterface, IGroupLDAP, I
$filter = $this->prepareFilterForUsersHasGidNumber($groupDN, $search);
$users = $this->access->fetchListOfUsers(
$filter,
- [$this->access->connection->ldapUserDisplayName, 'dn'],
+ $this->access->userManager->getAttributes(true),
$limit,
$offset
);
@@ -618,7 +618,7 @@ class Group_LDAP extends BackendUtility implements GroupInterface, IGroupLDAP, I
$filter = $this->prepareFilterForUsersInPrimaryGroup($groupDN, $search);
$users = $this->access->fetchListOfUsers(
$filter,
- [$this->access->connection->ldapUserDisplayName, 'dn'],
+ $this->access->userManager->getAttributes(true),
$limit,
$offset
);