ID:               25847
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hedrick at rutgers dot edu
-Status:           Open
+Status:           Closed
 Bug Type:         Feature/Change Request
 Operating System: *
 PHP Version:      4.3.3
 New Comment:

Added in PHP_5_3 branch and above. This will not be merged to PHP 4
(discontinued already)


Previous Comments:
------------------------------------------------------------------------

[2006-09-20 15:52:08] philippe dot marasse at ac-poitiers dot fr

It seems that in both PHP 4.4.4 & PHP 5.1.6, the problem still exists.
So I wrote a little patch to support only this feature (initially
against PHP 5.1.4).

You download the patch here :

http://admin.vienneinfo.org/files/ldap.c-patch-network-timeout-5.1.4.patch

------------------------------------------------------------------------

[2003-10-12 22:34:46] hedrick at rutgers dot edu

Description:
------------
We have two LDAP servers, a primary and a backup. PHP 
scripts can't use the backup in any useful way. If the 
primary is down, the timeout is 180 sec. The user will 
have given up long before then.

Openldap has an option LDAP_OPT_NETWORK_TIMEOUT that 
applies to the connect. You need to add this to the 
list of options that can be set with ldap_set_option. 
Sun (which I assume means Netscape) has an equivalent, 
LDAP_X_OPT_CONNECT_TIMEOUT. However I think people 
build with openldap often enough that even supporting 
just the openldap version would be a big help.

Another approach would be to allow arbitrary values for 
ldap_set_option, so you don't have to hard-code all 
possible value.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25847&edit=1

Reply via email to