[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 ( 1.3.6.1.4.1.14357.3.12 NAME ( 'mid' 'managerid' )
       EQUALITY caseIgnoreMatch
       SUBSTR caseIgnoreSubstringsMatch
       SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

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..