On Wed, 2017-02-22 at 19:35 -0800, Gordon Messmer wrote:
On 02/22/2017 12:56 PM, Noriko Hosoi wrote:
>>
>> Take a look at either the 389 console or
>> /etc/dirsrv/slapd-<instance>/dse.ldif (where you will look for
>> default indexes,cn=config,cn=ldbm database,cn=plugins,cn=config). You
>> should see equality indexes (nsIndexType: eq) for both of those
>> attributes by default. Is one of them not currently indexed?
> A tiny correction...
> presence (pres) for objectclass, and
> equality (eq) for uid
Has that changed in some recent release? My installation says:
dn: cn=objectclass,cn=default indexes,cn=config,cn=ldbm
database,cn=plugins,cn
=config
objectClass: top
objectClass: nsIndex
cn: objectclass
nsSystemIndex: true
nsIndexType: eq
Default indexes only apply to new databases (It's a template iirc). You
need to edit the index on the cn=userRoot,cn=ldbm
database,cn=plugins,cn=config
Else it won't apply.
--
Sincerely,
William Brown
Software Engineer
Red Hat, Brisbane