From 2fafa33e47465d9123ed0dcebd19f7265ed65d61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Bernigaud?= <come.bernigaud@opensides.be>
Date: Tue, 25 Aug 2015 15:43:52 +0200
Subject: [PATCH] Fixes #4056 Removed automatics login option

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

diff --git a/contrib/openldap/core-fd-conf.schema b/contrib/openldap/core-fd-conf.schema
index ffcd9d4c1..0db3f0fdb 100644
--- a/contrib/openldap/core-fd-conf.schema
+++ b/contrib/openldap/core-fd-conf.schema
@@ -70,6 +70,7 @@ attributetype ( 1.3.6.1.4.1.38414.8.12.3 NAME 'fdNextIdHook'
 
 attributetype ( 1.3.6.1.4.1.38414.8.12.4 NAME 'fdIdGenerator'
   DESC 'FusionDirectory - An automatic way to generate new user ids'
+  OBSOLETE
   EQUALITY caseExactIA5Match
   SUBSTR caseExactIA5SubstringsMatch
   SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
diff --git a/plugins/config/class_configInLdap.inc b/plugins/config/class_configInLdap.inc
index f389ecad4..589253718 100644
--- a/plugins/config/class_configInLdap.inc
+++ b/plugins/config/class_configInLdap.inc
@@ -263,10 +263,6 @@ class configInLdap extends simplePlugin
             'fdCnPattern', TRUE,
             '%givenName% %sn%'
           ),
-          new StringAttribute (
-            _('Automatic logins'), _('Automatic way to generate new users logins'),
-            'fdIdGenerator', FALSE
-          ),
           new BooleanAttribute (
             _('Strict naming policy'),
             _('Enables strict checking of user and group names'),
-- 
GitLab