support connect ldap server with starttls (#5969)

* support connect ldap server with starttls

* add more doc for start_tls option
This commit is contained in:
Chen Chenglong
2016-09-10 09:40:56 +02:00
committed by Torkel Ödegaard
parent 4edb31723c
commit 7b1c374f64
4 changed files with 15 additions and 1 deletions
+2
View File
@@ -27,6 +27,8 @@ host = "127.0.0.1"
port = 389
# Set to true if ldap server supports TLS
use_ssl = false
# Set to true if connect ldap server with STARTTLS pattern (create connection in insecure, then upgrade to secure connection with TLS)
start_tls = false
# set to true if you want to skip ssl cert validation
ssl_skip_verify = false
# set to the path to your root CA certificate or leave unset to use system defaults