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

Re: sorting in searches

At 07:51 PM 10/4/00 +0200, Tonny Holdorf wrote:
>Is there a way to retrieve e.g. the 5 most recent entries from a ldap tree?

Using OpenLDAP slapd, no. best you can do is to request all
entries modified since a particular time.  Using some other
server with a server side sort extension upon modifyTimeStamp
with sizelimit, yes.

>Or does one have to to take out all entries and then sort them by
>create/moderation-time, for instance in perl, and then pick the 5 most

In general, yes.