[Date Prev][Date Next]
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.
----- Original Message -----
From: "Saheli Dey" <email@example.com>
To: "Howard Chu" <firstname.lastname@example.org>; <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 ?
> ----- Original Message -----
> From: "Howard Chu" <email@example.com>
> To: "'Saheli Dey'" <firstname.lastname@example.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