I can't get my script to return all the entries in my directory. If I
do an ldapsearch, I get back 3000+ entries. When I run my script, I
only get back 500 entries every time. Here's a snip of my Perl ldap
search:
$ldapemail = $ldap->search( base => "ou=People,dc=someco,dc=com",
filter => "(uid=*)");
print $ldapemail->count."\n";
this returns 500.
Here's what my ldap log looks like from the Perl ldap search:
Sep 26 10:33:07 ldap-1 slapd[3834]: conn=4 op=0 SRCH
base="ou=People,dc=someco,dc=com" scope=2 deref=2 filter="(uid=*)"
Sep 26 10:33:08 ldap-1 slapd[3834]: conn=4 op=0 SEARCH RESULT tag=101
err=4 nentries=500 text=
Sep 26 10:33:08 ldap-1 slapd[3834]: conn=4 fd=10 closed
Any help is appreciated.