Issue 8740 - libldap ignoring timeout value
Summary: libldap ignoring timeout value
Status: VERIFIED FEEDBACK
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: libraries (show other issues)
Version: 2.4.42
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-26 17:13 UTC by sean.haugh@vertivco.com
Modified: 2021-02-22 18:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description sean.haugh@vertivco.com 2017-09-26 17:13:29 UTC
Full_Name: Sean Haugh
Version: 2.4.42
OS: Linux
URL: 
Submission from: (NULL) (143.166.81.254)


I have tried setting the LDAP_OPT_TIMEOUT, LDAP_OPT_NETWORK_TIMEOUT,
LDAP_OPT_TIMELIMIT values with ldap_simple_bind_s, and the call returns after
~65 seconds rather than the 10-20 seconds I expect.

The same is seen with ldap_result and ldap_simple_bind--regardless of the value
of `timeout` that is set, whether explicit or NULL, the call blocks for ~65
seconds.
Comment 1 Quanah Gibson-Mount 2021-02-22 18:30:48 UTC
More information necessary.  is the remote server up? Sample code to reproduce?