efefac9 getsockopt_wrapper: add support for PAM clients

1 file Authored by sbose 5 years ago, Committed by jhrozek 5 years ago,
    getsockopt_wrapper: add support for PAM clients
    
    PAM clients expect that the private socket of the PAM responder is
    handled by root. With this patch getsockopt_wrapper can return the
    expected UID and GID to PAM clients.
    
    Related to https://pagure.io/SSSD/sssd/issue/3500
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
    (cherry picked with fixes from commit d332c8a0e7a4c7f0b3ee1b2110145a23cbd61c2a)