mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
fix(LDAP): prevent incomplete displaynames…
… when reading users from primary groups or gidNumber-based groups Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
412022b302
commit
cd1b960f3a
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
);
|
||||
|
|
@ -617,7 +617,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
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue