diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-01-12 20:52:52 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-01-12 20:52:52 +0100 |
commit | 02b703193a9575b3ee742d9b1b851924bc617319 (patch) | |
tree | 6dedd94d86a60f717fe2b3f6359305b9796b0ffa /apps/user_ldap/lib | |
parent | 3447ea4955fa4aae6d5f150c3c15923cba0d575f (diff) | |
download | nextcloud-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.php | 2 |
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); } |