Hi Grant,
Grant Carmichael a écrit :
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.
This is because the max entries of your server is 500... Take a look at
'man Net::LDAP::Paged' to understand how to get more than your limit.
HTH,
--
\^/
-/ O \----------------------------------------
| |/ \| Alexandre (Midnite) Jousset |
-|___|----------------------------------------