PHP 4.0 Bug #5298: ldap_search() misses Sizelimit and Timelimit options.

From: Date: Fri, 30 Jun 2000 23:51:32 +0000
Subject: PHP 4.0 Bug #5298: ldap_search() misses Sizelimit and Timelimit options.
Groups: php.dev 
Request: Send a blank email to php-dev+get-22991@lists.php.net to get a copy of this message
From: jtaskine@hit.fi Operating system: Redhat Linux 6.2 / Sun Solaris 2.6 PHP version: 4.0 Latest CVS (01/07/2000) PHP Bug Type: Feature/Change Request Bug description: ldap_search() misses Sizelimit and Timelimit options. The ldap_search() function lacks sizelimit and timelimit options. There is a comment about adding timelimit..but that has been there since PHP3.0.14 (at least). I hope someone has time to dig into this..or can point me in the right direction (to implement this myself). <--snip from ldap.h: --> /* * structure representing an ldap connection */ typedef struct ldap { Sockbuf ld_sb; /* socket descriptor & buffer */ char *ld_host; int ld_version; char ld_lberoptions; int ld_deref; #define LDAP_DEREF_NEVER 0 #define LDAP_DEREF_SEARCHING 1 #define LDAP_DEREF_FINDING 2 #define LDAP_DEREF_ALWAYS 3 int ld_timelimit; int ld_sizelimit; #define LDAP_NO_LIMIT 0 <-- END snip -->

« previous php.dev (#22991) next »