Browse Source

LDAP authentication should use the configured port

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

Ref: #20060
Joël Cuissinat 2 years ago
parent
commit
d356deeeb4
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      tmpl/sunstone-ldap_auth.conf

+ 1
- 3
tmpl/sunstone-ldap_auth.conf View File

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