LDAP with TLS authentication does not work
* tmpl/sunstone-ldap_auth.conf: Fix TLS configuration, authentication method is always simple unless we use SASL. Ref: #20060
This commit is contained in:
parent
8261ce4ba6
commit
6200277781
|
@ -7,14 +7,16 @@ server 1:
|
||||||
#:password: 'password'
|
#:password: 'password'
|
||||||
|
|
||||||
# Ldap authentication method
|
# Ldap authentication method
|
||||||
|
:auth_method: :simple
|
||||||
|
|
||||||
# Ldap server
|
# Ldap server
|
||||||
:host: %%adresse_ip_ldap
|
:host: %%adresse_ip_ldap
|
||||||
%if %%getVar('ldap_tls', 'non') == 'oui'
|
%if %%getVar('ldap_tls', 'non') == 'oui'
|
||||||
:auth_method: :simple_tls
|
|
||||||
:port: 636
|
:port: 636
|
||||||
|
|
||||||
|
# Uncomment this line for tls conections
|
||||||
|
:encryption: :simple_tls
|
||||||
%else
|
%else
|
||||||
:auth_method: :simple
|
|
||||||
:port: 389
|
:port: 389
|
||||||
%end if
|
%end if
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue