php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #5298 ldap_search() misses Sizelimit and Timelimit options.
Submitted: 2000-07-01 01:51 UTC Modified: 2000-07-20 04:36 UTC
From: jtaskine at hit dot fi Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (01/07/2000) OS: Redhat Linux 6.2 / Sun Solaris 2
Private report: No CVE-ID: None
 [2000-07-01 01:51 UTC] jtaskine at hit dot fi
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 -->

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-20 04:36 UTC] david at cvs dot php dot net
closed at user request
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 01:00:01 2026 UTC