diff options
author | Petr Cech <pcech@redhat.com> | 2016-07-12 16:14:04 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2016-07-12 18:15:32 +0200 |
commit | 75dead699a19dda7d8dfca89e2f97efbf0c264a2 (patch) | |
tree | b1d9b6030190d9a5e7d4e1e53d9421026d24d1e4 /src/lib | |
parent | 2bb9e88328ef44eddd935c250ae12337442c5900 (diff) | |
download | sssd-75dead699a19dda7d8dfca89e2f97efbf0c264a2.tar.gz sssd-75dead699a19dda7d8dfca89e2f97efbf0c264a2.tar.xz sssd-75dead699a19dda7d8dfca89e2f97efbf0c264a2.zip |
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>
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions