diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-08 00:48:12 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:53:02 +0100 |
commit | 740870643f337ce70d85f25f9ed057cd1f91028c (patch) | |
tree | 319f52b3a9e13a7c14492808a789778f1ee37613 /src/providers/ipa/ipa_selinux_common.c | |
parent | 2913240aee51ce81195148a4d814e967f66839c4 (diff) | |
download | sssd-740870643f337ce70d85f25f9ed057cd1f91028c.tar.gz sssd-740870643f337ce70d85f25f9ed057cd1f91028c.tar.bz2 sssd-740870643f337ce70d85f25f9ed057cd1f91028c.zip |
Add domain argument to sysdb selinux functions
Diffstat (limited to 'src/providers/ipa/ipa_selinux_common.c')
-rw-r--r-- | src/providers/ipa/ipa_selinux_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_selinux_common.c b/src/providers/ipa/ipa_selinux_common.c index 45794388..2276d0c9 100644 --- a/src/providers/ipa/ipa_selinux_common.c +++ b/src/providers/ipa/ipa_selinux_common.c @@ -28,6 +28,7 @@ errno_t ipa_save_user_maps(struct sysdb_ctx *sysdb, + struct sss_domain_info *domain, size_t map_count, struct sysdb_attrs **maps) { @@ -44,7 +45,7 @@ errno_t ipa_save_user_maps(struct sysdb_ctx *sysdb, in_transaction = true; for (i = 0; i < map_count; i++) { - ret = sysdb_store_selinux_usermap(sysdb, maps[i]); + ret = sysdb_store_selinux_usermap(sysdb, domain, maps[i]); if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, ("Failed to store user map %d. " "Ignoring.\n", i)); |