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

Re: olcsizeLimit cant work ?



On Thursday 27 October 2005 08:35, you wrote:
> Dear :
>
> i have set the olcsizeLimit paramter of 'bdb' entry of 'config' database to
> 100. but ldapsearch still returns all entries:
>     ldapsearch -x -b "dc=com" -D "cn=Manager,dc=com" -s sub

No limits are applied to the rootdn (well, I'm not sure if via 'limits' you 
can enforce it).. So, avoid the use of the rootdn.

> "(objectclass=*)" and this returns 100 entries:
>     ldapsearch -x -b "dc=com" -s sub "(objectclass=*)"
>
> i am not very clear what the difference, anyone gives me some comments ?
> thanks in advance.

Test with something besides rootdn.

Regards,
Buchan

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

Attachment: pgpORiHCXZLy0.pgp
Description: PGP signature