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 63fa2c9..ac71049 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,