#25847 [NEW]: can't use LDAP backup server, because LDAP_OPT_NETWORK_TIMEOUT not supported
| From: | hedrick at rutgers dot edu | Date: | Mon, 13 Oct 2003 02:34:46 +0000 |
| Subject: | #25847 [NEW]: can't use LDAP backup server, because LDAP_OPT_NETWORK_TIMEOUT not supported | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-48885@lists.php.net to get a copy of this message | ||
From: hedrick at rutgers dot edu
Operating system: Unix/Linux
PHP version: 4.3.3
PHP Bug Type: LDAP related
Bug description: can't use LDAP backup server, because LDAP_OPT_NETWORK_TIMEOUT not supported
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 bug report at http://bugs.php.net/?id=25847&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25847&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25847&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25847&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25847&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25847&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25847&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25847&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25847&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25847&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25847&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25847&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25847&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25847&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25847&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25847&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25847&r=float