[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Return all entries in Client without modify 'sizelimit' of slapd.conf



On Wednesday 20 September 2006 05:17, Phillip wrote:
> Hi, Quanah,
>
> Thanks for your concern.I'm sorry to describe my question clearly, here
> I try to explain again:
>
> 1. In the OpenLDAP, do not modify the "sizelimit" directive, keep it as
> default setting.
> 2. In the client, How to use "ldapsearch -x" to return all the 20000
> entries by splitting them into pages?
>

Bind (eg add ' -D cn=Manager,dc=mydomain,dc=com -W' if 
cn=Manager,dc=mydomain,c=com is your rootdn) with an account with an 
unlimited size limit.

The rootdn's access is always unlimited, but you may want to consider creating 
other accounts which have limits rules applied to them, using the limits 
directives.

However, the key here is that you can't accomplish this with an anonymous bind 
(-x without -D and -W/-w).

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

Attachment: pgpU3rgxoerCp.pgp
Description: PGP signature