diff options
Diffstat (limited to 'apps/user_ldap/lib/Access.php')
-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 0ce727f8bcb..d11ca98ece9 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); } |