diff options
author | Michal Zidek <mzidek@redhat.com> | 2014-09-24 16:03:04 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-10-22 23:30:38 +0200 |
commit | 214c04af59ea09589743b88943a7ba0adac64a7a (patch) | |
tree | 8244c027b179e27cf601889381c5cb996d47ea14 /src/tools | |
parent | 40dac78bce81ebf65ccbcd4f346de9e91d3da58b (diff) | |
download | sssd-214c04af59ea09589743b88943a7ba0adac64a7a.tar.gz sssd-214c04af59ea09589743b88943a7ba0adac64a7a.tar.xz sssd-214c04af59ea09589743b88943a7ba0adac64a7a.zip |
sss_semanage: Add mlsrange parameter to set_seuser
mlsrange parameter will be needed in IPA provider
and probably at some point in the tools as well.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/sss_useradd.c | 2 | ||||
-rw-r--r-- | src/tools/sss_usermod.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/sss_useradd.c b/src/tools/sss_useradd.c index 59439401e..8521b8301 100644 --- a/src/tools/sss_useradd.c +++ b/src/tools/sss_useradd.c @@ -205,7 +205,7 @@ int main(int argc, const char **argv) /* Set SELinux login context - must be done after transaction is done * b/c libselinux calls getpwnam */ - ret = set_seuser(tctx->octx->name, pc_selinux_user); + ret = set_seuser(tctx->octx->name, pc_selinux_user, NULL); if (ret != EOK) { ERROR("Cannot set SELinux login context\n"); ret = EXIT_FAILURE; diff --git a/src/tools/sss_usermod.c b/src/tools/sss_usermod.c index 9683c6e9e..55e943947 100644 --- a/src/tools/sss_usermod.c +++ b/src/tools/sss_usermod.c @@ -300,7 +300,7 @@ int main(int argc, const char **argv) /* Set SELinux login context - must be done after transaction is done * b/c libselinux calls getpwnam */ - ret = set_seuser(tctx->octx->name, pc_selinux_user); + ret = set_seuser(tctx->octx->name, pc_selinux_user, NULL); if (ret != EOK) { ERROR("Cannot set SELinux login context\n"); ret = EXIT_FAILURE; |