diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-09 16:39:42 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-21 22:17:33 +0100 |
commit | 24b715f096613d18f182cf0fff537e1fc79647fa (patch) | |
tree | 69559d58896dcfa37aabffd6683038781ba657a8 /src/providers/ipa/ipa_selinux.c | |
parent | df0596ec12bc5091608371e2977f3111241e8caf (diff) | |
download | sssd-24b715f096613d18f182cf0fff537e1fc79647fa.tar.gz sssd-24b715f096613d18f182cf0fff537e1fc79647fa.tar.xz sssd-24b715f096613d18f182cf0fff537e1fc79647fa.zip |
Remove sysdb as a be request structure member
The sysdb context is already available through the 'domain' context.
Diffstat (limited to 'src/providers/ipa/ipa_selinux.c')
-rw-r--r-- | src/providers/ipa/ipa_selinux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_selinux.c b/src/providers/ipa/ipa_selinux.c index 6c04af4ad..2711486e3 100644 --- a/src/providers/ipa/ipa_selinux.c +++ b/src/providers/ipa/ipa_selinux.c @@ -99,7 +99,7 @@ void ipa_selinux_handler(struct be_req *be_req) goto fail; } - op_ctx = ipa_selinux_create_op_ctx(be_req, be_req->sysdb, be_req->domain, + op_ctx = ipa_selinux_create_op_ctx(be_req, be_req->domain->sysdb, be_req->domain, be_req, pd->user, hostname); if (op_ctx == NULL) { DEBUG(SSSDBG_OP_FAILURE, ("Cannot create op context\n")); @@ -215,7 +215,7 @@ static void ipa_selinux_handler_done(struct tevent_req *req) } in_transaction = true; - ret = sysdb_delete_usermaps(breq->sysdb, breq->domain); + ret = sysdb_delete_usermaps(breq->domain->sysdb, breq->domain); if (ret != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, ("Cannot delete existing maps from sysdb\n")); |