From 625ffba8ecaf0895382ce2469476e15480415248 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 21 May 2010 17:33:05 +0200 Subject: s4:libnet: use the new generated config from the provision for the self_join This fixes net vampire with the --target-dir option. metze --- source4/libnet/libnet_vampire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libnet/libnet_vampire.c') diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c index d7ffcd79aa..d083fc9ba9 100644 --- a/source4/libnet/libnet_vampire.c +++ b/source4/libnet/libnet_vampire.c @@ -772,7 +772,7 @@ NTSTATUS libnet_Vampire(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, set_secrets->key_version_number = join->out.kvno; set_secrets->domain_sid = join->out.domain_sid; - status = provision_store_self_join(ctx, ctx->lp_ctx, ctx->event_ctx, set_secrets, &error_string); + status = provision_store_self_join(ctx, s->lp_ctx, ctx->event_ctx, set_secrets, &error_string); if (!NT_STATUS_IS_OK(status)) { r->out.error_string = talloc_steal(mem_ctx, error_string); talloc_free(s); -- cgit