4316907 Ticket 49509 - Indexing of internationalized matching rules is failing

Authored and Committed by tbordaz 2 years ago
    Ticket 49509 - Indexing of internationalized matching rules is failing
    
    Bug Description:
        Indexing of the internationalized matching rules tests if a
        matching rule indexer handle or not a given OID.
        A side effect of https://pagure.io/389-ds-base/issue/49097 is that
        the returned indexing callbacks are lost.
        Indeed, the indexing callbacks (and potentially others fields) were
        stored in the temporary pblock that was memcpy to the provided
        pblock in case of success
    
    Fix Description:
        The fix basically restores the previous behavior but do not
        memcpy pblock. It read/store the pblock fields that are
        inputs/outputs of slapi_mr_indexer_create.
    
    https://pagure.io/389-ds-base/issue/49509
    
    Reviewed by: Ludwig Krispenz
    
    Platforms tested: F23
    
    Flag Day: no
    
    Doc impact: no
    
        
file modified
+103 -45