[Date Prev][Date Next] [Chronological] [Thread] [Top]

Stopping pagination



Hello,

Once a pagination server controls is set with ldap_set_option, it seems impossible to cancel pagination by sending a pagination control with 0 as pagesize.

What I mean is calling ldap_set_option to set a pagination control (let’s say page size is 4),
then starting a search,
then calling ldap_set_option to set the pagination control with page size of 0 (and with the cookie returned by the search)

Then trying to start new search will return 0 entries.

From what I understood in https://www.ietf.org/rfc/rfc2696.txt I thought a page size of 0 would disable pagination but it does not seem to work.

Am I missing something?

Côme

Attachment: signature.asc
Description: This is a digitally signed message part.