From 55e3ad19292c0057b684c79bf86ed20299a8d407 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Thu, 14 Mar 2019 17:00:10 +0100
Subject: [PATCH] Fix wrong bool; it was changed by mistake

---
 modules/ldap/lib/Auth/Process/AttributeAddUsersGroups.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/ldap/lib/Auth/Process/AttributeAddUsersGroups.php b/modules/ldap/lib/Auth/Process/AttributeAddUsersGroups.php
index ccf94067a..2f50a7af9 100644
--- a/modules/ldap/lib/Auth/Process/AttributeAddUsersGroups.php
+++ b/modules/ldap/lib/Auth/Process/AttributeAddUsersGroups.php
@@ -252,7 +252,7 @@ class AttributeAddUsersGroups extends BaseFilter
         $get_attributes = [$map['memberof'], $map['type']];
         if (isset($map['name']) && $map['name']) {
             $get_attributes[] = $map['name'];
-            $use_group_name = false;
+            $use_group_name = true;
         }
 
         // Check each DN of the passed memberOf
-- 
GitLab