diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/libnet.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/libnet/libnet.c b/source4/libnet/libnet.c index 8398e9ca17..0dca57926d 100644 --- a/source4/libnet/libnet.c +++ b/source4/libnet/libnet.c @@ -47,6 +47,14 @@ struct libnet_context *libnet_context_init(struct event_context *ev) /* connected domain params */ ZERO_STRUCT(ctx->domain); + + /* currently opened user */ + ZERO_STRUCT(ctx->user_handle); + + /* init pipe pointers */ + ctx->samr_pipe = NULL; + ctx->lsa_pipe = NULL; + ctx->pipe = NULL; return ctx; } |