#33850 [NEW]: PATCH: Support LDAP_X_OPT_CONNECT_TIMEOUT
| From: | skissane at gmail dot com | Date: | Mon, 25 Jul 2005 06:55:11 +0000 |
| Subject: | #33850 [NEW]: PATCH: Support LDAP_X_OPT_CONNECT_TIMEOUT | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-82400@lists.php.net to get a copy of this message | ||
From: skissane at gmail dot com
Operating system: Irrelevant
PHP version: 4.3.11
PHP Bug Type: LDAP related
Bug description: PATCH: Support LDAP_X_OPT_CONNECT_TIMEOUT
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 bug report at http://bugs.php.net/?id=33850&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33850&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33850&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33850&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33850&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33850&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33850&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33850&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33850&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33850&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33850&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33850&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33850&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33850&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33850&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33850&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33850&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33850&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33850&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33850&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33850&r=mysqlcfg