summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2013-10-11 17:50:12 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-11-15 20:20:18 +0100
commit19d8bc19b5b5597427878645644fa354ef6cb54d (patch)
treec2f1e317b8369c7d19576ab0228d38f376393d51 /src/providers
parent4fcc50e133f90cd4c5931a3ac48c84cb628b16fc (diff)
downloadsssd-19d8bc19b5b5597427878645644fa354ef6cb54d.tar.gz
sssd-19d8bc19b5b5597427878645644fa354ef6cb54d.tar.xz
sssd-19d8bc19b5b5597427878645644fa354ef6cb54d.zip
SYSDB: Drop the sysdb_ctx parameter from the sysdb_ssh module
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ipa/ipa_hostid.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/providers/ipa/ipa_hostid.c b/src/providers/ipa/ipa_hostid.c
index 7afe350a8..2ebe98688 100644
--- a/src/providers/ipa/ipa_hostid.c
+++ b/src/providers/ipa/ipa_hostid.c
@@ -272,8 +272,7 @@ hosts_get_done(struct tevent_req *subreq)
DEBUG(SSSDBG_OP_FAILURE,
("No host with name [%s] found.\n", state->name));
- ret = sysdb_delete_ssh_host(state->domain->sysdb, state->domain,
- state->name);
+ ret = sysdb_delete_ssh_host(state->domain, state->name);
if (ret != EOK && ret != ENOENT) {
goto done;
}
@@ -301,8 +300,7 @@ hosts_get_done(struct tevent_req *subreq)
goto done;
}
- ret = sysdb_store_ssh_host(state->domain->sysdb, state->domain,
- state->name, state->alias, now,
+ ret = sysdb_store_ssh_host(state->domain, state->name, state->alias, now,
attrs);
if (ret != EOK) {
goto done;