summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_hostid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ipa/ipa_hostid.c')
-rw-r--r--src/providers/ipa/ipa_hostid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_hostid.c b/src/providers/ipa/ipa_hostid.c
index cb37e9a4d..a697dbf66 100644
--- a/src/providers/ipa/ipa_hostid.c
+++ b/src/providers/ipa/ipa_hostid.c
@@ -165,7 +165,7 @@ hosts_get_send(TALLOC_CTX *memctx,
state->ctx = hostid_ctx;
state->dp_error = DP_ERR_FATAL;
- state->op = sdap_id_op_create(state, ctx->conn_cache);
+ state->op = sdap_id_op_create(state, ctx->conn->conn_cache);
if (!state->op) {
DEBUG(SSSDBG_OP_FAILURE, ("sdap_id_op_create failed\n"));
ret = ENOMEM;