This is how the memberUid index is configured:
dn: cn=memberuid,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config nsIndexType: eq,pres
and this is how it should be configured to make indexing actually work:
dn: cn=memberuid,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config nsIndexType: eq nsIndesType: pres
The problem is cause by this line in install/updates/20-indices.update:
default:nsIndexType: eq,pres
The "default" directive doesn't do CSV parsing, so the value is added to LDAP including the comma.
Proposed solution for upgrade, to fix index on already installed systems:
dn: cn=memberuid,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config remove:nsIndexType: eq,pres add:nsIndexType: eq add:nsIndesType: pres
Note: CSV is not supported in upgrade files anymore (patch ACKed)
master:
ipa-4-1:
Metadata Update from @jcholast: - Issue assigned to mbasti - Issue set to the milestone: FreeIPA 4.2
Login to comment on this ticket.