#33850 [Opn->Asn]: [PATCH]: Support LDAP_X_OPT_CONNECT_TIMEOUT
| From: | sniper@php.net | Date: | Wed, 27 Jul 2005 11:52:10 +0000 |
| Subject: | #33850 [Opn->Asn]: [PATCH]: Support LDAP_X_OPT_CONNECT_TIMEOUT | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82517@lists.php.net to get a copy of this message | ||
ID: 33850
Updated by: sniper@php.net
-Summary: PATCH: Support LDAP_X_OPT_CONNECT_TIMEOUT
Reported By: skissane at gmail dot com
-Status: Open
+Status: Assigned
-Bug Type: LDAP related
+Bug Type: Feature/Change Request
-Operating System: Irrelevant
+Operating System: *
-PHP Version: 4.3.11
+PHP Version: 5CVS, 4CVS (2005-07-27)
-Assigned To:
+Assigned To: sniper
Previous Comments:
------------------------------------------------------------------------
[2005-07-25 08:55:10] skissane at gmail dot com
Description:
------------
I have written a patch to support LDAP_X_OPT_CONNECT_TIMEOUT (which is
defined by the Netscape LDAP C SDK). This required also changing
ldap_connect to call ldap_init instead of ldap_open (but only if
LDAP_X_OPT_CONNECT_TIMEOUT is defined), which is necessary if
LDAP_X_OPT_CONNECT_TIMEOUT is to do anything. In any case, ldap_open is
deprecated, so PHP shouldn't be calling it unless necessary.
Reproduce code:
---------------
http://www.mq.edu.au/~skissane/ldap-nsldap-timeout.patch
Expected result:
----------------
N/A
Actual result:
--------------
N/A
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33850&edit=1