Skip to content

Clone tlsCfg with ServerName because ServerName is needed by StartTLS#580

Merged
foxcpp merged 1 commit intofoxcpp:masterfrom
litrop:master
May 4, 2023
Merged

Clone tlsCfg with ServerName because ServerName is needed by StartTLS#580
foxcpp merged 1 commit intofoxcpp:masterfrom
litrop:master

Conversation

@litrop
Copy link
Copy Markdown
Contributor

@litrop litrop commented Apr 29, 2023

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.

auth.ldap: LDAP Result Code 200 "Network Error": TLS handshake failed (EOF)

@foxcpp foxcpp merged commit 13a210f into foxcpp:master May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants