75dead6 PROVIDERS: Setting right {u,g}id if unprivileged

1 file Authored by pcech 7 years ago, Committed by lslebodn 7 years ago,
    PROVIDERS: Setting right {u,g}id if unprivileged
    
    be_ctx had talloc_zero() initialized uid and gid which was used
    in function dp_init(). Therefore back-end was every time started as root
    and therefore non-root responders could not communicate with back-end
    due to wrong permission of unix sockets.
    
    This patch sets right uid and gid to data-providers if sssd runs
    as non-root user.
    
    Resolves:
    https://fedorahosted.org/sssd/ticket/3077
    
    Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>