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

RE: backglue.c sometimes falsely returns LDAP_SIZELIMIT_EXCEEDED (ITS#2888)

> The current fix needs to be reworked, it ignores the case of
> administrative limits being hit.

The user-enforced limits are honored correctly, with
a possible exception when the user requests a limit
that's exactly equal to the number of entries, which
I do not recall whether it should be a success or a
sizelimit exceeded.

For administrative limits, I think there's a design issue:
each database in the glued pool will take care of enforcing
admin limits within its scope; we also need to take care of
the global (or glued) limits, which, of course, can only be
of global scope.  So the glue_back_search() will need to find
if there's any, and apply them.  Did I miss anything?


>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director, Highland Sun
>   http://www.symas.com               http://highlandsun.com/hyc
>   Symas: Premier OpenSource Development and Support
>> -----Original Message-----
>> From: owner-openldap-bugs@OpenLDAP.org
>> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of rhafer@suse.de
>> I just tried to test the fix. Now, in some cases, it didn't return
>> LDAP_SIZELIMIT_EXCEEDED even if the limit was hit.

Pierangelo Masarati