summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-14 17:58:09 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-14 17:58:09 +0200
commitb54e6a815514ef1e5a0a5d11ca43f85e0366b8dc (patch)
treed15a878b31fd95fe6ca5c48c2978c35c89d57380 /source4
parent0fa62eb2751805bb60d4cfc55b539770aa3471a4 (diff)
downloadsamba-b54e6a815514ef1e5a0a5d11ca43f85e0366b8dc.tar.gz
samba-b54e6a815514ef1e5a0a5d11ca43f85e0366b8dc.tar.bz2
samba-b54e6a815514ef1e5a0a5d11ca43f85e0366b8dc.zip
Ensure we initialise s->lp_ctx for the way into the provision.
Andrew Bartlett (This used to be commit b191a1953c24545e9dc1869fc33cb29343d4e3f2)
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/libnet_vampire.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index 9d32088fe6..1cc63a3fb0 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -586,6 +586,8 @@ NTSTATUS libnet_Vampire(struct libnet_context *ctx, TALLOC_CTX *mem_ctx,
return NT_STATUS_NO_MEMORY;
}
+ s->lp_ctx = ctx->lp_ctx;
+
join = talloc_zero(s, struct libnet_JoinDomain);
if (!join) {
return NT_STATUS_NO_MEMORY;