in reply to ldap query only returning 1k lines

I've never used Net::LDAP, but I can't help but notice that you are only getting 1k results and have set your pagesize to 1000 in your search parameters. I don't see a pagesize option in the documentation, but if it behaves like sizelimit and timelimit options, you should likely set it equal to 0 (no limit), omit it or perhaps the 10,000 you set in your Net::LDAP::Control::Paged constructor.

Replies are listed 'Best First'.
Re^2: ldap query only returning 1k lines
by Anonymous Monk on May 13, 2009 at 21:04 UTC
    No dice. Even if I remove that, replace with sizelimit and adjust from 100 to 10000 it still doesn't jive. Great idea though. I appreciate the try!