From 0f3ff07b5f1756ea0c126c3f7e9be8789fe28ccf Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 2 Dec 2020 10:20:42 +0100 Subject: [PATCH] Merge last evolutions from master branch --- dicos/70_lemonldap_ng.xml | 16 +++++++++++++--- dicos/71_lemonldap_ng_scribe.xml | 23 +++++++++-------------- tmpl/lmConf-1.json | 7 +++++++ 3 files changed, 29 insertions(+), 17 deletions(-) diff --git a/dicos/70_lemonldap_ng.xml b/dicos/70_lemonldap_ng.xml index 1b51faa..df54a8d 100644 --- a/dicos/70_lemonldap_ng.xml +++ b/dicos/70_lemonldap_ng.xml @@ -2,7 +2,6 @@ - @@ -15,7 +14,7 @@ - lemonldap-ng-fastcgi-server + lemonldap-ng-fastcgi-server manager-apache2 portal-apache2 @@ -47,11 +46,18 @@ + + oui + 4 + + info + + admin @@ -118,10 +124,13 @@ ['ldaps','ldap'] + + ['info','notice','warn','error','debug'] + + ['LDAP','Demo','Custom'] - casLDAPAttribute @@ -132,6 +141,7 @@ lemonldap-nginx lemonldap-apache lemonldap-apache + sllemon LemonLDAP saLemon diff --git a/dicos/71_lemonldap_ng_scribe.xml b/dicos/71_lemonldap_ng_scribe.xml index 4fa6769..d03e59f 100644 --- a/dicos/71_lemonldap_ng_scribe.xml +++ b/dicos/71_lemonldap_ng_scribe.xml @@ -5,16 +5,15 @@ - - - - - cas - - - 443 - - + + + + cas + + + 443 + + @@ -58,10 +57,6 @@ ldap_port - - ldap_base_dn - - ldap_reader diff --git a/tmpl/lmConf-1.json b/tmpl/lmConf-1.json index 1397ff0..5980d67 100644 --- a/tmpl/lmConf-1.json +++ b/tmpl/lmConf-1.json @@ -173,6 +173,13 @@ "ldapPpolicyControl": 0, "ldapPwdEnc": "utf-8", "ldapServer": "%%ldapScheme://%%ldapServer", +%if %%ldapScheme == "ldaps" + %if %%lmldapverify == "oui" + "ldapVerify": "required", + %else + "ldapVerify": "none", + %end if +%end if "ldapSetPassword": 0, "ldapTimeout": 120, "ldapUsePasswordResetAttribute": 1,