Browse Source

LDAP with TLS authentication does not work

* tmpl/sunstone-ldap_auth.conf: Fix TLS configuration, authentication
  method is always simple unless we use SASL.

Ref: #20060
tags/pkg/dev/eole-2.7.0/0.0.1-0
Daniel Dehennin 2 years ago
parent
commit
6200277781
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      tmpl/sunstone-ldap_auth.conf

+ 4
- 2
tmpl/sunstone-ldap_auth.conf View File

@@ -7,14 +7,16 @@ server 1:
7 7
     #:password: 'password'
8 8
 
9 9
     # Ldap authentication method
10
+    :auth_method: :simple
10 11
 
11 12
     # Ldap server
12 13
     :host: %%adresse_ip_ldap
13 14
 %if %%getVar('ldap_tls', 'non') == 'oui'
14
-    :auth_method: :simple_tls
15 15
     :port: 636
16
+
17
+    # Uncomment this line for tls conections
18
+    :encryption: :simple_tls
16 19
 %else
17
-    :auth_method: :simple
18 20
     :port: 389
19 21
 %end if
20 22
 

Loading…
Cancel
Save