aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-01-12 20:52:52 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-01-12 20:52:52 +0100
commit02b703193a9575b3ee742d9b1b851924bc617319 (patch)
tree6dedd94d86a60f717fe2b3f6359305b9796b0ffa /apps/user_ldap/lib
parent3447ea4955fa4aae6d5f150c3c15923cba0d575f (diff)
downloadnextcloud-server-02b703193a9575b3ee742d9b1b851924bc617319.tar.gz
nextcloud-server-02b703193a9575b3ee742d9b1b851924bc617319.zip
really use known groups
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r--apps/user_ldap/lib/Access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php
index 426cd05e52a..5350827deff 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -945,7 +945,7 @@ class Access extends LDAPUtility {
array_walk($groupRecords, function ($record) use ($idsByDn) {
$newlyMapped = false;
- $gid = $uidsByDn[$record['dn'][0]] ?? null;
+ $gid = $idsByDn[$record['dn'][0]] ?? null;
if ($gid === null) {
$gid = $this->dn2ocname($record['dn'][0], null, false, $newlyMapped, $record);
}