Full_Name: David Bender Version: 2.4.32 OS: Linux URL: Submission from: (NULL) (96.236.148.85)
ldap_pvt_connect() in libldap/os-ip.c fails intermittently when the calling program also runs child processes. The connect() call fails with EINTR, but no effort is made to retry the connect(). The following patches add support for retrying in this case, as well as toggling the behaviour with LDAP_OPT_RESTART.
Patches are available and should be applied in this order (applied to current HEAD):
https://github.com/benegon/openldap/commit/8e4fee39bfccaa3dd15179fb6451d3977... https://github.com/benegon/openldap/commit/991941e3b51fea44d5f123f24a0f32062...