Red Hat Bugzilla – Bug 1310069
ldap_install_tls reports TLS was established even after a socket timeout
Last modified: 2018-03-02 11:30:44 EST
Created attachment 1128516 [details]
Description of problem:
When there is an LDAP server listening on ldaps:// but the connection attempt is not successfull and interrupted with LDAP_OPT_X_TLS_CONNECT_CB, ldap_install_tls still returns LOCAL_ERROR which indicates the connection was established.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
please see the attached C reproducer.
this happens with both NSS and OpenSSL as crypto back ends.