diff options
Diffstat (limited to 'source4/libnet/libnet.c')
-rw-r--r-- | source4/libnet/libnet.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source4/libnet/libnet.c b/source4/libnet/libnet.c index 0dca57926d..6626e94b6f 100644 --- a/source4/libnet/libnet.c +++ b/source4/libnet/libnet.c @@ -45,16 +45,15 @@ struct libnet_context *libnet_context_init(struct event_context *ev) /* name resolution methods */ ctx->name_res_methods = str_list_copy(ctx, lp_name_resolve_order()); - /* connected domain params */ - ZERO_STRUCT(ctx->domain); + /* connected services' params */ + ZERO_STRUCT(ctx->samr); + ZERO_STRUCT(ctx->lsa); /* currently opened user */ ZERO_STRUCT(ctx->user_handle); - /* init pipe pointers */ - ctx->samr_pipe = NULL; - ctx->lsa_pipe = NULL; - ctx->pipe = NULL; + /* init pipe pointer */ + ctx->pipe = NULL; return ctx; } |