Bug 1395289 - [RHEL6] ldap_install_tls reports TLS was established even after a socket timeout
Summary: [RHEL6] ldap_install_tls reports TLS was established even after a socket timeout
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openldap
Version: 6.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Matus Honek
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-15 15:57 UTC by Stefan Kremen
Modified: 2017-11-21 15:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1310069
Environment:
Last Closed: 2017-11-21 15:27:03 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Stefan Kremen 2016-11-15 15:57:14 UTC
+++ This bug was initially created as a clone of Bug #1310069 +++

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.