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

View File

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