diff options
Diffstat (limited to 'source4/libnet/libnet_join.c')
-rw-r--r-- | source4/libnet/libnet_join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c index b5b28df81d1..5776888cb0f 100644 --- a/source4/libnet/libnet_join.c +++ b/source4/libnet/libnet_join.c @@ -865,7 +865,7 @@ NTSTATUS libnet_set_join_secrets(struct libnet_context *ctx, } /* Open the secrets database */ - ldb = secrets_db_connect(tmp_mem, ctx->lp_ctx); + ldb = secrets_db_connect(tmp_mem, ctx->event_ctx, ctx->lp_ctx); if (!ldb) { r->out.error_string = talloc_asprintf(mem_ctx, |