LDAP authentication should use the configured port

* tmpl/sunstone-ldap_auth.conf: use ldap_port variable

Ref: #20060
This commit is contained in:
Joël Cuissinat 2017-04-05 14:28:43 +02:00
parent 6200277781
commit d356deeeb4
1 changed files with 1 additions and 3 deletions

View File

@ -11,13 +11,11 @@ server 1:
# Ldap server # Ldap server
:host: %%adresse_ip_ldap :host: %%adresse_ip_ldap
:port: %%ldap_port
%if %%getVar('ldap_tls', 'non') == 'oui' %if %%getVar('ldap_tls', 'non') == 'oui'
:port: 636
# Uncomment this line for tls conections # Uncomment this line for tls conections
:encryption: :simple_tls :encryption: :simple_tls
%else
:port: 389
%end if %end if
# base hierarchy where to search for users and groups # base hierarchy where to search for users and groups