From 8473f6e77821a56c588839dde6ebd4cad887f92a Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 21 Nov 2002 20:57:00 +0000 Subject: [PATCH] set keyword to noEstimate and document it --- doc/man/man5/slapd.conf.5 | 11 +++++++++++ servers/slapd/limits.c | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) 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; -- 2.39.5