# Support for the RFC 2696 paged results LDAP extension

- Thread: https://externals.io/message/7981
- Original archive: https://news-web.php.net/php.internals/7981
- Started by Gary Palmer on 2004-02-19T00:49:24+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #7981 — Gary Palmer — 2004-02-19T00:49:24+00:00

URL: https://externals.io/message/7981#7981

Hi,

I am wondering if there is any plan to support RFC 2696 "LDAP Control 
Extension for Simple Paged Results Manipulation".

LDAP has a problem that most/all servers aren't designed to handle large 
result sets. Some servers are set so that the largest result sets they 
can handle are as small as 100 entries. LDAP paging gets around this by 
allowing you to retrieve multiple chunks of $RESULT_SIZE until you have 
all the entries that your search produced.

This has obvious benefits in an LDAP environment and I'm hoping that 
there is some way to get support included in PHP.

Thanks for any help / information.

Yours,

Gary

---

## #7987 — Wez Furlong — 2004-02-19T10:31:13+00:00

URL: https://externals.io/message/7981#7987 · In reply to: #7981

The best thing to do to get it in is to write a patch :-)

Although the ldap extension is listed as being maintained, I don't
think Stig Venaas has had much time for it in a while.

The next best thing to writing a patch is showing some C code that
shows how to do it--maybe someone will take it on.

--Wez.

----- Original Message ----- 
From: "Gary Palmer" <usenet@in-addr.com>
To: <internals@lists.php.net>
Sent: Thursday, February 19, 2004 12:49 AM
Subject: [PHP-DEV] Support for the RFC 2696 paged results LDAP extension


> Hi,
>
> I am wondering if there is any plan to support RFC 2696 "LDAP Control
> Extension for Simple Paged Results Manipulation".
>
> LDAP has a problem that most/all servers aren't designed to handle large
> result sets. Some servers are set so that the largest result sets they
> can handle are as small as 100 entries. LDAP paging gets around this by
> allowing you to retrieve multiple chunks of $RESULT_SIZE until you have
> all the entries that your search produced.
>
> This has obvious benefits in an LDAP environment and I'm hoping that
> there is some way to get support included in PHP.
>
> Thanks for any help / information.
>
> Yours,
>
> Gary
