System: Access: Servers - [https://github.com/opnsense/core/issues/8065] fix regression in a7104ab771

This commit is contained in:
Ad Schellevis 2024-11-19 15:04:27 +01:00
parent 74ec5c5f46
commit fd236e0be5

View File

@ -542,7 +542,7 @@ class LDAP extends Base implements IAuthConnector
}
if (!$this->ldapSyncMemberOf) {
$membersOf = $default_groups;
$sync_groups = $default_groups;
} elseif ($this->ldapSyncMemberOfConstraint) {
// Filter "memberOf" results to those recorded in ldapAuthcontainers, where
// the first part of the member is considered the group name, the rest should be an exact