Skip to content
Snippets Groups Projects
Commit 5ac8a78c authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

allowing TLS and Certificate to be NOT defined

parent 575318ac
No related branches found
No related tags found
No related merge requests found
......@@ -28,9 +28,17 @@ ldap_chpass_uri = {{ ldapURI }}
{% else %}
ldap_uri = {{ ldapURI }}
{% endif %}
ldap_id_use_start_tls = {{ useTLS }}
{% if useTLS is not defined%}
ldap_tls_reqcert = never
ldap_id_use_start_tls = True
ldap_tls_reqcert = allow
{% else %}
ldap_tls_reqcert = always
ldap_id_use_start_tls = {{ useTLS }}
{% endif %}
{% if ldapCaCertFile is defined %}
ldap_tls_cacert = {{ ldapCaCertFile }}
{% endif %}
ldap_default_bind_dn = {{ ldapBindDN }}
ldap_default_authtok_type = password
ldap_default_authtok = {{ ldapBindDNPassword }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment