From fd236e0be5073cdd12babebec15e526b784d6e11 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 19 Nov 2024 15:04:27 +0100 Subject: [PATCH] System: Access: Servers - [https://github.com/opnsense/core/issues/8065] fix regression in https://github.com/opnsense/core/commit/a7104ab771d9404965019a2548825b32f28240c0 --- src/opnsense/mvc/app/library/OPNsense/Auth/LDAP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/mvc/app/library/OPNsense/Auth/LDAP.php b/src/opnsense/mvc/app/library/OPNsense/Auth/LDAP.php index 1bcb2391a..422dab934 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Auth/LDAP.php +++ b/src/opnsense/mvc/app/library/OPNsense/Auth/LDAP.php @@ -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