From: Pierangelo Masarati Date: Mon, 22 Aug 2011 15:02:02 +0000 (-0600) Subject: make sure size limits are passed to ldapsearch X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~282 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6169e8e0769262d7ed2c668bc45c45baca4a6555;p=openldap make sure size limits are passed to ldapsearch --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 4eeca808b9..fb85a60726 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -1219,7 +1219,7 @@ getNextPage: if ( infile == NULL ) { rc = dosearch( ld, base, scope, NULL, filtpattern, - attrs, attrsonly, NULL, NULL, NULL, -1 ); + attrs, attrsonly, NULL, NULL, NULL, sizelimit ); } else { rc = 0; @@ -1232,7 +1232,7 @@ getNextPage: first = 0; } rc1 = dosearch( ld, base, scope, filtpattern, line, - attrs, attrsonly, NULL, NULL, NULL, -1 ); + attrs, attrsonly, NULL, NULL, NULL, sizelimit ); if ( rc1 != 0 ) { rc = rc1;