Hello,

The patch for the ticket https://fedorahosted.org/389/ticket/48746, introduced a regression.
This patch contained two parts:
  1. Hardening of MR code to prevent a crash when index_create function do not set SLAPI_PLUGIN_OBJECT
  2. rewriting of the code looking for MR plugin that can handle a given OID

The Part 2 of the code was wrong because it did not take into consideration old and new MR plugin style that register their indexer create function in a different way.
The Patch for 48844 basically revert the second part of the patch 48746.

thanks
thierry

ticket: https://fedorahosted.org/389/ticket/48844

fix: https://fedorahosted.org/389/attachment/ticket/48844/0001-Ticket-48844-Regression-introduced-in-matching-rules.patch

test case: https://fedorahosted.org/389/attachment/ticket/48844/ticket48844_test.py