diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-11-06 12:12:04 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-11-07 15:19:53 +0100 |
commit | 66d12b25e5976041f7298b94c9cfe03ee77aa2bb (patch) | |
tree | 1981514e84b51c4c06664e63b433c831008cc31d /src/providers/ipa | |
parent | 863f4705e8961cfc7a21c276d186d3059d20f53e (diff) | |
download | sssd-66d12b25e5976041f7298b94c9cfe03ee77aa2bb.tar.gz sssd-66d12b25e5976041f7298b94c9cfe03ee77aa2bb.tar.xz sssd-66d12b25e5976041f7298b94c9cfe03ee77aa2bb.zip |
IPA: Store right username to selinux child context
Wrong name would be used with fully qualified names.
Reviewed-by: Michal Židek <mzidek@redhat.com>
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_selinux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_selinux.c b/src/providers/ipa/ipa_selinux.c index b392d82a6..30ad6f0a7 100644 --- a/src/providers/ipa/ipa_selinux.c +++ b/src/providers/ipa/ipa_selinux.c @@ -867,7 +867,7 @@ selinux_child_setup(TALLOC_CTX *mem_ctx, sci->seuser = talloc_strdup(sci, seuser); sci->mls_range = talloc_strdup(sci, mls_range); - sci->username = talloc_strdup(sci, username); + sci->username = talloc_strdup(sci, username_final); if (sci->seuser == NULL || sci->mls_range == NULL || sci->username == NULL) { ret = ENOMEM; |