Merge branch '2.6.0/fix-LDAP-TLS'

This commit is contained in:
Daniel Dehennin 2017-04-05 14:03:26 +02:00
commit de91d2b605
1 changed files with 4 additions and 2 deletions

View File

@ -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