[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: entryCSN and ldapsearch result



In OpenLDAP 2.2 beta, slapd maintains contextCSN (back-bdb / back-hdb),
but it has a different meaning than what you might look for.
It is the largest entryCSN with all transactions having earlier entryCSNs
have already been committed, or in other words, no transaction is
outstanding with an entryCSN value earlier than the contextCSN.
It can be searched by requesting  the contextCSN attribute
of "cn=ldapsync,<database suffix>" with the base scope.
- Jong

----- Original Message -----
From: "Saheli Dey" <saheli.dey@oracle.com>
To: "Howard Chu" <hyc@symas.com>; <openldap-software@OpenLDAP.org>
Sent: Monday, November 10, 2003 6:29 PM
Subject: Re: entryCSN and ldapsearch result


> In OpenLDAP version 2.1, is there a way to search for the latest available
> entryCSN ?
>
> Thanks
>
> ----- Original Message -----
> From: "Howard Chu" <hyc@symas.com>
> To: "'Saheli Dey'" <saheli.dey@oracle.com>;
<openldap-software@OpenLDAP.org>
> Sent: Monday, November 10, 2003 2:33 PM
> Subject: RE: [JunkMail] entryCSN and ldapsearch result
>
>
> > There are no guarantees on the order of returned results.
> >
> >   -- Howard Chu
> >   Chief Architect, Symas Corp.       Director, Highland Sun
> >   http://www.symas.com               http://highlandsun.com/hyc
> >   Symas: Premier OpenSource Development and Support
> >
> > -----Original Message-----
> > From: owner-openldap-software@OpenLDAP.org
> > [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Saheli Dey
> >
> > Hi
> >
> > I understand that OpenLDAP does not support server-side sorting.
> >
> > But I am interested in finding out if the search results returned in the
> > increasing order of increasing entryCSN ?
> >
> > Thanks
> > Saheli
> >
> >
>
>
>