Ensure we initialise s->lp_ctx for the way into the provision.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 14 Apr 2008 15:58:09 +0000 (17:58 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 14 Apr 2008 15:58:09 +0000 (17:58 +0200)
Andrew Bartlett
(This used to be commit b191a1953c24545e9dc1869fc33cb29343d4e3f2)

source4/libnet/libnet_vampire.c

index 9d32088fe620600acee9f169ecf620c40f30e64b..1cc63a3fb0cbe8404c92be131d0db2985675252d 100644 (file)
@@ -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;