--On Tuesday, March 11, 2008 4:14 PM -0700 Howard Chu hyc@symas.com wrote:
quanah@zimbra.com wrote:
Full_Name: Quanah Gibson-Mount Version: 2.3.41 OS: Linux 2.6 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (24.23.156.219)
Intermittently if the max entries requested is exact multiple of page size, after a paged search hits SizeLimitExceededException, the next search also always throws a SizeLimitExceededException, even when it should not.
Does "the next search" also use the paging control?
Yes.
e.g. if max requested is 5000, if page size is: 1000 => bad 2500 => bad 999 => good 2000 => good
I have a java program that can reproduce this.
Are you sure it's not AdminLimitExceeded?
Yes.
javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded];
Does the same situation occur in 2.4?
I don't have 2.4 available to test with at this time.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration