From 52e5c433eb9c13e2e1f3950d4dbb747311ac2c59 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 26 Nov 2020 16:53:02 +0100 Subject: [PATCH] Enable option for SSL verify --- dicos/70_lemonldap_ng.xml | 3 +++ tmpl/lmConf-1.json | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/dicos/70_lemonldap_ng.xml b/dicos/70_lemonldap_ng.xml index d165088..c13c7ad 100644 --- a/dicos/70_lemonldap_ng.xml +++ b/dicos/70_lemonldap_ng.xml @@ -84,6 +84,9 @@ oui + + oui + 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,