When starttls is set to true, the following error happens.
auth.ldap: LDAP Result Code 200 "Network Error": TLS handshake failed (tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config)
And using hostname(Domain:Port) as ServerName still gets another error, and the Domain is only be needed.
When
starttls
is set to true, the following error happens.And using
hostname
(Domain:Port) as ServerName still gets another error, and the Domain is only be needed.