diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-09 16:45:57 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-21 22:17:33 +0100 |
commit | d34961fdcf5a999d9debee3d1d8e255457798295 (patch) | |
tree | c2e0b7ad80a5cbe7b499b141e2d037856ea3528d /src/providers/ipa/ipa_hostid.c | |
parent | 24b715f096613d18f182cf0fff537e1fc79647fa (diff) | |
download | sssd-d34961fdcf5a999d9debee3d1d8e255457798295.tar.gz sssd-d34961fdcf5a999d9debee3d1d8e255457798295.tar.xz sssd-d34961fdcf5a999d9debee3d1d8e255457798295.zip |
Remove sysdb argument from ipa_host_info_send()
Diffstat (limited to 'src/providers/ipa/ipa_hostid.c')
-rw-r--r-- | src/providers/ipa/ipa_hostid.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/providers/ipa/ipa_hostid.c b/src/providers/ipa/ipa_hostid.c index a943cdb02..b60876cbd 100644 --- a/src/providers/ipa/ipa_hostid.c +++ b/src/providers/ipa/ipa_hostid.c @@ -30,7 +30,6 @@ struct hosts_get_state { struct tevent_context *ev; struct ipa_hostid_ctx *ctx; struct sdap_id_op *op; - struct sysdb_ctx *sysdb; struct sss_domain_info *domain; const char *name; const char *alias; @@ -171,7 +170,6 @@ hosts_get_send(TALLOC_CTX *memctx, goto fail; } - state->sysdb = ctx->be->domain->sysdb; state->domain = ctx->be->domain; state->name = name; state->alias = alias; @@ -225,7 +223,7 @@ hosts_get_connect_done(struct tevent_req *subreq) return; } - subreq = ipa_host_info_send(state, state->ev, state->sysdb, + subreq = ipa_host_info_send(state, state->ev, sdap_id_op_handle(state->op), state->ctx->sdap_id_ctx->opts, state->name, state->ctx->ipa_opts->host_map, NULL, @@ -294,7 +292,7 @@ hosts_get_done(struct tevent_req *subreq) goto done; } - ret = sysdb_store_ssh_host(state->sysdb, state->domain, + ret = sysdb_store_ssh_host(state->domain->sysdb, state->domain, state->name, state->alias, now, attrs); if (ret != EOK) { |