Browse Source

Merge branch '2.6.0/fix-LDAP-TLS'

Daniel Dehennin 2 years ago
parent
commit
de91d2b605
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