#48497 extended search without MR indexed attribute prevents later indexing with that MR
Closed: wontfix Opened by tbordaz.

This bug was found while fixing https://fedorahosted.org/389/ticket/48270

When a extended search specifies a given matching rules, it loads the matching rule (plugin_mr_filter_create) specifying SLAPI_PLUGIN_MR_FILTER_CREATE_FN.
But at this point SLAPI_PLUGIN_MR_INDEXER_CREATE_FN remains undefined.

Later when we will try to index the attribute with this matching rule, it will find the slapdplugin registered in global_mr_oids but with no indexer_create function.
So the attempt to add the 'nsMatchingRule' value to the index entry will trigger this message:

from DSE modify: line 0: unknown or invalid matching rule "caseIgnoreIA5Match" in index configuration (ignored)

And the indexing of the added 'nsMatchingRule' will be ignored.

This bug can be reproduced systematically but depends on 48270 (else indexing fails anyway)


Looks good

Formatting is off, but looks good.

Thanks Mark and thanks Rich for those reviews (I updated the attached patch to change the formatting)

'''Master'''


Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 1.30 KiB, done.
Total 6 (delta 4), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
d89efda..f230d32 master -> master

commit f230d32cbb92d87ab4436410bf23acda5fc890fa
Author: Thierry Bordaz tbordaz@redhat.com
Date: Fri Mar 4 18:48:07 2016 +0100


Counting objects: 10, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 2.50 KiB, done.
Total 6 (delta 4), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
f230d32..b9dd886 master -> master

commit b9dd886f1a6c8aab31b5165a1fc1aaacbc8415f3
Author: Thierry Bordaz tbordaz@redhat.com
Date: Mon Mar 7 17:55:27 2016 +0100

'''1.3.4'''

Counting objects: 18, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 3.60 KiB, done.
Total 10 (delta 6), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
8081159..70670f2 389-ds-base-1.3.4 -> 389-ds-base-1.3.4

commit 70670f2cd40bb89104819b30ab0b4e263dfcba92
Author: Thierry Bordaz tbordaz@redhat.com
Date: Fri Mar 4 18:48:07 2016 +0100

Fix CI test

4fc76f2..6575db8 master -> master
commit 6575db8af1a6d44a0fd9c8cf8e27ca0950a97faf

67da983..c6ebe12 389-ds-base-1.3.4 -> 389-ds-base-1.3.4
commit c6ebe12e937c10774ef066b1a6c07a36c16d69ce

Metadata Update from @mreynolds:
- Issue assigned to tbordaz
- Issue set to the milestone: 1.3.4.9

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1775

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

Metadata