Increase limit from 1000?
问题 When I do a search like so my $mesg = $ldap->search( base => "OU=test,DC=example,DC=com", scope => 'one', filter => '(objectClass=organizationalPerson)', attrs => ['distinguishedName', 'displayName', 'sAMAccountName', 'employeeID'], ); I only get 1000 entries, where I would expect ~20000. Is it possible to increase this limit in my Perl script, or does it have to be changed on the server? 回答1: The solution is to use paged search like so use Net::LDAP; use Net::LDAP::Control::Paged; use Net: