https://bugs.openldap.org/show_bug.cgi?id=10023
[email protected] <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |m --- Comment #2 from [email protected] <[email protected]> --- There are two ways to fix this, and I've tested that both work: 1. Add the following in ldap_int_open_connection before the LDAP_OPT_X_TLS_HARD check that was updated for ITS #8957: if ( async && rc == -2) { /* Need to let the connect complete asynchronously before we continue */ return -2; } 2. Change the return( 0 ) statement at the end of ldap_int_open_connection (after the LDAP_OPT_X_TLS_HARD check) to this (or maybe just return rc): return ( (rc == -2) ? -2 : 0 ); I prefer #1 because it makes the connect properly function asynchronously, but it will affect the fix for ITS #8957 and the reporter of that may have to do some extra coding -- You are receiving this mail because: You are on the CC list for the issue.
