diff --git a/tmpl/ninegate-template.yml b/tmpl/ninegate-template.yml index 779c182a..c53330a1 100644 --- a/tmpl/ninegate-template.yml +++ b/tmpl/ninegate-template.yml @@ -180,7 +180,7 @@ parameters: ldap_baseniveau01: ou=%%ninegate_niveau01branche,ou=%%ninegate_organization,%%ldap_base_dn ldap_baseniveau02: ou=%%ninegate_niveau02branche,ou=%%ninegate_organization,%%ldap_base_dn ldap_basegroup: ou=groups,ou=%%ninegate_organization,%%ldap_base_dn -%else if %%getVar("ninegate_ldaptemplate", 'open') == "open" +%else if %%getVar("ninegate_ldaptemplate", '') == "open" %if not %%is_empty(%%ninegate_openldapsubbranchuser) ldap_baseuser: %%ninegate_openldapsubbranchuser %else