directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Willeke <...@willeke.com>
Subject Re: Getting total count of entries in a container
Date Thu, 11 Dec 2014 15:49:57 GMT
The discussion, at least started as "...to  get the total count of entries
under a container." and not the size of the result set.
ᐧ

--
-jim
Jim Willeke

On Thu, Dec 11, 2014 at 10:32 AM, Michael Ströder <michael@stroeder.com>
wrote:

> Jim Willeke wrote:
> > I fail to see how the paged search control provides the same thing.
> > Using a paged search control with 25+million entries would take forever.
>
> I have admit that I never looked closer at the 'size' in the response
> control:
>
> From http://tools.ietf.org/html/rfc2696
>
> realSearchControlValue ::= SEQUENCE {
>         size            INTEGER (0..maxInt),
>                                 -- requested page size from client
>                                 -- result set size estimate from server
>         cookie          OCTET STRING
> }
>
> [..]
>
>    In the control returned to the client, the
>    size MAY be set to the server's estimate of the total number of
>    entries in the entire result set. Servers that cannot provide such an
>    estimate MAY set this size to zero (0).
>
> The big question for me is whether there are LDAP server implementations
> already returning the "estimate of the total number of entries in the
> entire
> result set".
>
> Since RFC 2696 was written by Microsoft employees I will check MS AD
> first...
>
> Ciao, Michael.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message