]> git.sur5r.net Git - openldap/commitdiff
set keyword to noEstimate and document it
authorPierangelo Masarati <ando@openldap.org>
Thu, 21 Nov 2002 20:57:00 +0000 (20:57 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 21 Nov 2002 20:57:00 +0000 (20:57 +0000)
doc/man/man5/slapd.conf.5
servers/slapd/limits.c

index ab3a6fb4b4eafae02fbd5ac9fe989c5ae86d48bb..886ff7db87ff4392bff27e2fab366ba098bd5af6 100644 (file)
@@ -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={<integer>|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 <filename>
index ec7b2e150689f659411d467b7ba867f401ce35c2..6c74b449b752847282fc28326fbb7adb53bd8265 100644 (file)
@@ -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;