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

Re: Index on a generalized time attribute

--On Friday, April 21, 2006 4:05 PM +0200 Frank.Offermanns@cae-gmbh.de wrote:


i am working with windows LDAP Version 2.2.29.

I defined an attribute:

attributetype ( myAttributeType:54 NAME ( 'LastSyncUser' )
        DESC 'Time and Date of the last Syncuser in generalized time'
        EQUALITY generalizedTimeMatch
        ORDERING generalizedTimeOrderingMatch
        SINGLE-VALUE )

Now i want to index this attribute by configuring:
index   LastSyncUser    eq
Equality is all i need.

But i always get this error:
.\slapd.conf: line 88: equality index of attribute "LastSyncUser"

Isn't it possible to set an index on a generalized time attribute?
What can i do to fix this problem?

If you upgrade to OpenLDAP 2.3.21, yes, you can index it. Indexing it is not supported in OpenLDAP 2.x where x < 3.


-- Quanah Gibson-Mount Principal Software Developer ITS/Shared Application Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html