[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [Fwd: Re: Paged Results and limits]
This has broken nss_ldap with paged results. I have sizelimit set to
1500 in slapd.conf; nss_ldap sends enumeration requests with a search
sizelimit of 0 (LDAP_NO_LIMIT) and a page size of 1000, and gets
LDAP_SIZELIMIT_EXCEEDED back from slapd.
# refldap://redmond.dsg.padl.com/dc=redmond,dc=dsg,dc=padl,dc=com??sub
Size limit exceeded (4)
Size limit exceeded (4)
The following diff appears to correct this:
Index: limits.c
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/servers/slapd/limits.c,v
retrieving revision 1.30.2.7
diff -u -r1.30.2.7 limits.c
--- limits.c 14 Apr 2004 23:08:16 -0000 1.30.2.7
+++ limits.c 15 Apr 2004 06:33:09 -0000
@@ -1019,8 +1019,9 @@
/* use the standard hard/soft limit if any */
op->ors_slimit = op->ors_limit->lms_s_hard;
}
+ }
- } else if ( op->ors_slimit == 0 ) {
+ if ( op->ors_slimit == 0 ) {
op->ors_slimit = op->ors_limit->lms_s_soft;
} else {
-- Luke