From b5d6ec8704600660fa7c9fac05d588020f3cf02a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come.bernigaud@opensides.be>
Date: Tue, 26 Jan 2016 11:07:17 +0100
Subject: [PATCH] =?UTF-8?q?Fixes=20#4481=20Removing=20=C2=ABEnable=20prima?=
 =?UTF-8?q?ry=20group=20filter=C2=BB=20option?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 contrib/openldap/core-fd-conf.schema  | 1 +
 plugins/config/class_configInLdap.inc | 6 ------
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/contrib/openldap/core-fd-conf.schema b/contrib/openldap/core-fd-conf.schema
index cff504d05..d35e9e1f8 100644
--- a/contrib/openldap/core-fd-conf.schema
+++ b/contrib/openldap/core-fd-conf.schema
@@ -225,6 +225,7 @@ attributetype ( 1.3.6.1.4.1.38414.8.13.8 NAME 'fdForcePasswordDefaultHash'
 
 attributetype ( 1.3.6.1.4.1.38414.8.14.1 NAME 'fdPrimaryGroupFilter'
   DESC 'FusionDirectory - Primary group filter'
+  OBSOLETE
   EQUALITY booleanMatch
   SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
   SINGLE-VALUE )
diff --git a/plugins/config/class_configInLdap.inc b/plugins/config/class_configInLdap.inc
index f0e5b992d..e59cf87e8 100644
--- a/plugins/config/class_configInLdap.inc
+++ b/plugins/config/class_configInLdap.inc
@@ -157,12 +157,6 @@ class configInLdap extends simplePlugin
       'core_settings' => array(
         'name'  => _('Core settings'),
         'attrs' => array(
-          new BooleanAttribute (
-            _('Enable primary group filter'),
-            _('It is time consuming to evaluate which groups are primary and which are not, so you may want to disable it if your group plugin is slow.'),
-            'fdPrimaryGroupFilter', FALSE,
-            TRUE
-          ),
           new BooleanAttribute (
             _('Display summary in listings'),
             _('Determines whether a status bar will be shown on the bottom of lists, displaying a short summary of type and number of elements in the list.'),
-- 
GitLab