180e0b2 CACHE_REQ_RESULT: Introduce cache_req_create_ldb_result_from_msg_list()

2 files Authored by fidencio 6 years ago, Committed by jhrozek 6 years ago,
    CACHE_REQ_RESULT: Introduce cache_req_create_ldb_result_from_msg_list()
    
    Similarly to what cache_req_create_ldb_result_from_msg() does this new
    function creates a new ldb_result from a list of ldb_message.
    
    It's going to be used in the follow-up patch where some messages from
    ldb_result may be filtered and then a new ldb_result has to be created.
    
    Related:
    https://pagure.io/SSSD/sssd/issue/3362
    
    Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
    
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>