diff --git a/dicos/71_lemonldap_ng_scribe.xml b/dicos/71_lemonldap_ng_scribe.xml
index 691bd0c..67433ca 100644
--- a/dicos/71_lemonldap_ng_scribe.xml
+++ b/dicos/71_lemonldap_ng_scribe.xml
@@ -35,8 +35,8 @@
- 636
-
+ 389
+
oui
@@ -48,17 +48,19 @@
- 636
+ 389
- AD
+ LDAP
- AD
+ LDAP
+
+
+ ldap_base_dn
-
sasl_ldap_reader
diff --git a/tmpl/lmConf-1.json b/tmpl/lmConf-1.json
index a794cd1..e38468e 100644
--- a/tmpl/lmConf-1.json
+++ b/tmpl/lmConf-1.json
@@ -171,19 +171,6 @@
%end if
"ldapAuthnLevel": 2,
"ldapSearchDeref": "find",
-%if %%eole_module == "scribe"
- "ldapBase": "cn=Users,dc=%echo ",dc=".join(%%ad_domain.split('.')) + '",'
- "ldapExportedVars": {
- "cn": "cn",
- "mail": "mail",
- "uid": "cn"
- },
- "ldapGroupAttributeName": "memberUid",
- "ldapGroupAttributeNameGroup": "dn",
- "ldapGroupAttributeNameSearch": "cn",
- "ldapGroupAttributeNameUser": "cn",
- "ldapGroupObjectClass": "group",
-%else
"ldapBase": "%%ldapUserBaseDN",
"ldapExportedVars": {
"cn": "cn",
@@ -195,7 +182,6 @@
"ldapGroupAttributeNameSearch": "cn",
"ldapGroupAttributeNameUser": "uid",
"ldapGroupObjectClass": "eolegroupe",
-%end if
"ldapGroupRecursive": 0,
"ldapPasswordResetAttribute": "pwdReset",
"ldapPasswordResetAttributeValue": "TRUE",
@@ -247,11 +233,7 @@
%end if
%end if
"maintenance": 0,
-%if %%eole_module == "scribe"
- "managerDn": "cn=%%ldapBindUserDN,cn=Users,dc=%echo ",dc=".join(%%ad_domain.split('.')) + '",'
-%else
"managerDn": "%%ldapBindUserDN",
-%end if
%if %%is_file(%%ldapBindUserPassword)
"managerPassword": "%%readPass("", %%ldapBindUserPassword)",
%else