[Date Prev][Date Next]
Re: (ITS#3720) back meta sizelimit exceeded
>Full_Name: Martin Evans
>OS: Solaris 8
>Submission from: (NULL) (126.96.36.199)
>There's some strange looking logic in back_meta/search.c I think it is
>incorrectly reporting size limit exceeded for some searches. e.g. if you do
>ldapsearch -z1 with a filter to return only 1 entry from a proxied tree.
>Heres a patch, which fixes a short term problem that I have. is it reasonable?
I confirm the problem, but your analysis appears incorrect. In fact,
your fix works in your case, but in cases where the filter matches
exactly two entries it would return both and then sizelimit exceeded for
a -z1 sizelimit, which is incorrect. I believe the test must move
somewhere else, and apply if yet another entry is about to be returned
by any target. I'm providing a new fix to both HEAD and RE22.
In any cases, thanks for reporting and please test. p.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497