PHP, LDAP & ldap_set_option
| From: | Holger Flocken | Date: | Wed, 11 Apr 2001 12:07:04 +0000 |
| Subject: | PHP, LDAP & ldap_set_option | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-48148@lists.php.net to get a copy of this message | ||
Hi,
I want to use the LDAP functions of PHP to process every entry in an LDAP
directory. Unfortunately the directory contains more than 20000 entries and
the PHP LDAP functions
(ldap_search/ldap_list) report that the timelimit (30 seconds) has been
exceed.
I tried to use ldap_set_option($ds, LDAP_OPT_TIMELIMIT, 0), but this
function doesn't seem to work properly.
I'm currently using Apache 1.3.19 with PHP 4.0.4pl1 and Netscape LDAP SDK
version 4.1.
Does anybody know how I can remove the time limit?
Thanks in advance!
Holger Flocken
holger_flocken@gmx.de