summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-05-21 17:33:05 +0200
committerStefan Metzmacher <metze@samba.org>2010-05-22 08:41:18 +0200
commit625ffba8ecaf0895382ce2469476e15480415248 (patch)
tree9a6c247ddbe8a51d67e447c44033e5cb229993b3
parent82484461e3f8f9bba351bbb5f5178c6f17dd049d (diff)
downloadsamba-625ffba8ecaf0895382ce2469476e15480415248.tar.gz
samba-625ffba8ecaf0895382ce2469476e15480415248.tar.bz2
samba-625ffba8ecaf0895382ce2469476e15480415248.zip
s4:libnet: use the new generated config from the provision for the self_join
This fixes net vampire with the --target-dir option. metze
-rw-r--r--source4/libnet/libnet_vampire.c2
1 files changed, 1 insertions, 1 deletions
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);