From d356deeeb48576abd4d54482fc5e47c38f6888b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Cuissinat?= Date: Wed, 5 Apr 2017 14:28:43 +0200 Subject: [PATCH] LDAP authentication should use the configured port * tmpl/sunstone-ldap_auth.conf: use ldap_port variable Ref: #20060 --- tmpl/sunstone-ldap_auth.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tmpl/sunstone-ldap_auth.conf b/tmpl/sunstone-ldap_auth.conf index 8bec695..1853bce 100644 --- a/tmpl/sunstone-ldap_auth.conf +++ b/tmpl/sunstone-ldap_auth.conf @@ -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