summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/slapi-plugin.h
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2010-08-04 15:32:22 -0700
committerNoriko Hosoi <nhosoi@redhat.com>2010-08-04 15:32:22 -0700
commit115857a2d111b7b6d72ddadd7c8e231f802fc249 (patch)
tree0dd7afb2905fd01dd9940787376c85b253a44bfc /ldap/servers/slapd/slapi-plugin.h
parent26240315c1ef8fcb71798feae171f394293e953f (diff)
downloadds-115857a2d111b7b6d72ddadd7c8e231f802fc249.tar.gz
ds-115857a2d111b7b6d72ddadd7c8e231f802fc249.tar.xz
ds-115857a2d111b7b6d72ddadd7c8e231f802fc249.zip
513166 - Simple Paged result doesn't provide the server's estimate
of the total number of entries https://bugzilla.redhat.com/show_bug.cgi?id=513166 Description: By definition, the first integer of the response control is for the estimated search result set size. This fix sets the estimated result set size. * controlType = LDAP_CONTROL_PAGEDRESULTS; * criticality = n/a; * controlValue: * realSearchControlValue ::= SEQUENCE { * size INTEGER (0..maxInt), * -- result set size estimate from server * cookie OCTET STRING
Diffstat (limited to 'ldap/servers/slapd/slapi-plugin.h')
-rw-r--r--ldap/servers/slapd/slapi-plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldap/servers/slapd/slapi-plugin.h b/ldap/servers/slapd/slapi-plugin.h
index 83e12f36..df3380b0 100644
--- a/ldap/servers/slapd/slapi-plugin.h
+++ b/ldap/servers/slapd/slapi-plugin.h
@@ -5841,6 +5841,8 @@ typedef struct slapi_plugindesc {
*/
/* Search result set */
#define SLAPI_SEARCH_RESULT_SET 193
+/* Estimated search result set size (for paged results) */
+#define SLAPI_SEARCH_RESULT_SET_SIZE_ESTIMATE 1930
/* Search result - next entry returned from search result set */
#define SLAPI_SEARCH_RESULT_ENTRY 194
#define SLAPI_SEARCH_RESULT_ENTRY_EXT 1944