sizelimit and ldapsearch

Andreas John <lists-qqKX2RIXbnLLeiHq/[email protected]> Thu, 22 Jun 2006 02:26:57 +0200
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
Hello,
look at this funny behavior of slapd and ldapsearch vs. ispman.ldifdump;

# ispman.ldifdump | wc -l
8175
# ldapsearch -z 0 -x -LLL | wc -l
Size limit exceeded (4)
4510

The "-z 0" Paramter is for "unlimited result size", but there seems to
be a server-side limit od slapd, too. I was able to get the full output
via adding sizelimit to slapd.conf:

# Global Directives:
sizelimit 10000

# /etc/init.d/slapd restart
Stopping OpenLDAP: slapd.
Starting OpenLDAP: running BDB recovery, slapd.

And then:
# ldapsearch -z 0 -x -LLL | wc -l
8082

Any oppinions? I used ldapsearch as "backup util" (as well as slapcat ..
just to be sure) .... but the sizelimit of 4500 lines or whatever can be
easily reached. in out case with only about 60 domain on the machine.

rgds,
Andreas

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642