diff options
Diffstat (limited to 'source4/utils/net/net.c')
-rw-r--r-- | source4/utils/net/net.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c index 64e82e226a..2741f485cc 100644 --- a/source4/utils/net/net.c +++ b/source4/utils/net/net.c @@ -45,6 +45,7 @@ #include "lib/cmdline/popt_common.h" #include "lib/ldb/include/ldb.h" #include "librpc/rpc/dcerpc.h" +#include "param/param.h" /* run a function from a function table. If not found then @@ -192,6 +193,7 @@ static int binary_net(int argc, const char **argv) ZERO_STRUCTP(ctx); ctx->mem_ctx = mem_ctx; + ctx->lp_ctx = global_loadparm; ctx->credentials = cmdline_credentials; rc = net_run_function(ctx, argc_new-1, argv_new+1, net_functable, net_usage); |