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

Re: can indexes only be used for unique attributes

I'm running openldap-2.0.27

The attribute I want to index is called mid...

 attributetype ( NAME ( 'mid' 'managerid' )
       EQUALITY caseIgnoreMatch
       SUBSTR caseIgnoreSubstringsMatch
       SYNTAX )

When my slapd.conf looks like this...

 directory       /usr/local/var/openldap-ldbm

 . . .

 index   objectClass     eq
 index   uid,sig,employeeNumber,manager       eq
 index   mail,cn,mid eq,subinitial

Only one unique mid is indexed.

Can you be more explicit about what you are doing?
As it reads your email doesn't make a whole lot of sense..