2952de7 CACHE_REQ: Do not fail the domain locator plugin if ID outside the domain range is looked up

4 files Authored by jhrozek 5 years ago, Committed by fidencio 5 years ago,
    CACHE_REQ: Do not fail the domain locator plugin if ID outside the domain range is looked up
    
    A fix for upstream bug #3569 and the domain-locator feature were both
    developed in the context of the same upstream version and therefore
    touched the same code, but the domain locator did not account for the
    ERR_ID_OUTSIDE_RANGE error code.
    
    Therefore lookups for IDs that are outside the range for the domain
    caused the whole lookup to fail instead of carrying on to the next
    domain.
    
    This patch just handles ERR_ID_OUTSIDE_RANGE the same way as if the ID
    was not found at all. Also some whitespace errors are fixed.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3728
    
    Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>