From: Pierangelo Masarati Date: Thu, 21 Nov 2002 20:57:00 +0000 (+0000) Subject: set keyword to noEstimate and document it X-Git-Tag: NO_SLAP_OP_BLOCKS~782 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8473f6e77821a56c588839dde6ebd4cad887f92a;p=openldap set keyword to noEstimate and document it --- diff --git a/doc/man/man5/slapd.conf.5 b/doc/man/man5/slapd.conf.5 index ab3a6fb4b4..886ff7db87 100644 --- a/doc/man/man5/slapd.conf.5 +++ b/doc/man/man5/slapd.conf.5 @@ -345,6 +345,17 @@ and .BR timelimit ; no limit is set on .BR unchecked . + +If +.B pagedResults +control is defined, additional size limits may be enforced; the syntax is +.BR size.pr={|noEstimate} , +where +.BR integer +is the max page size if no explicit limit is set; the keyword +.BR noEstimate +inhibits the server to return an estimate of the total number +of entries that will be returned. .RE .\".TP .\".B logfile diff --git a/servers/slapd/limits.c b/servers/slapd/limits.c index ec7b2e1506..6c74b449b7 100644 --- a/servers/slapd/limits.c +++ b/servers/slapd/limits.c @@ -570,7 +570,7 @@ parse_limit( return( 1 ); } arg++; - if ( strcasecmp( arg, "noEntriesLeft" ) == 0 ) { + if ( strcasecmp( arg, "noEstimate" ) == 0 ) { limit->lms_s_pr_hide = 1; } else { char *next = NULL;