On 1 Jul 2008, at 07:52, Vartak, Yash V wrote:
Hey Chris I have tried that
but it returns exactly no that a page size is set to, If you set the
page size to a value greater than admin limit it would return the
amount
of entries <eq> to admin limit.
logically I need the flow need to go this way
{search first 999 entries}
<do processing>
{search next 1000 - 1999 entries}
<do processing>
... continues till the time all the entries are processed
What I am missing out is how to leave a pointer at 999 th entry
Looks like I am making some mistake while implementing
Net::LDAP::Control::Paged
Possibly. The man page shows you the loop that you have to write to
get each page, which involves retrieving a cookie and reusing it in
the next search, ie your "pointer". Did you also check if AD supports
Paged Results?
Cheers,
Chris