Hallvard B Furuseth wrote:
Howard Chu writes:
From: Hallvard B Furuseth <[EMAIL PROTECTED]>
Date: Mon, 8 Jan 2007 16:49:36 +0100
- If your DB is small enough (since you can't index for ORDERING), run a
  cron job every day which searches for "(expiryattribute<=now)"
  and deletes userPassword and the expiry attr from the found those
  entries.
ORDERING indexing on GeneralizedTime has been supported since OpenLDAP 2.3.1.

Oh, great.  Part of the eq index?

Yes.

I don't see it in the slapd-bdb(5)
and slapd-ldbm(5) manpages though.  Looks like they need a tweak.

It's not supported in ldbm. At this point the only thing left to tweak on that manpage is to cvs rm it, since the code has already been removed from HEAD.

For now only generalizedTime and CSN support ORDERING indexing. We could probably support Integer, but there hasn't been any real need to yet. Also I've been reading about some other order-preserving hashes that we might be able to use more generally.

--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to