On Wed, Apr 11, 2001 at 02:07:04PM +0200, Holger Flocken wrote:
> 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?

If the LDAP server supports it and is willing the option should work.
You might want to look at the server config if you are able to. To
test if the option works, you might try to set the timeout to say 10s.
If it works I expect you to be able to shorten the timeout, but the
server might refuse extending it.

Stig

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to