4e2c15e cache_req: allow shallow copy of result

2 files Authored by pbrezina 7 years ago, Committed by lslebodn 7 years ago,
    cache_req: allow shallow copy of result
    
    For enumeration purpose, we want to limit the number of returned results
    
    This is a preparation for changes in NSS responder.
    
    Resolves:
    https://fedorahosted.org/sssd/ticket/3151
    
    Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>