Bug 1310069 - ldap_install_tls reports TLS was established even after a socket timeout
ldap_install_tls reports TLS was established even after a socket timeout
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openldap (Show other bugs)
Unspecified Unspecified
low Severity low
: rc
: ---
Assigned To: Matus Honek
BaseOS QE Security Team
Depends On:
Blocks: 1283798
  Show dependency treegraph
Reported: 2016-02-19 06:32 EST by Jakub Hrozek
Modified: 2018-03-02 11:30 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1395289 (view as bug list)
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
a reproducer (3.88 KB, text/plain)
2016-02-19 06:32 EST, Jakub Hrozek
no flags Details

  None (edit)
Description Jakub Hrozek 2016-02-19 06:32:41 EST
Created attachment 1128516 [details]
a reproducer

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):

How reproducible:

Steps to Reproduce:
please see the attached C reproducer.

Actual results:

Expected results:

Additional info:
this happens with both NSS and OpenSSL as crypto back ends.

Note You need to log in before you can comment on or make changes to this bug.