summaryrefslogtreecommitdiffstats
path: root/source4/utils/net/net.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-04 19:33:00 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:12 +0100
commita693e6f1c71d9772b52cf40a85b0504cea837240 (patch)
treeeb6eb454caaa300945bd4c5ff94b9ae4ccee7b14 /source4/utils/net/net.c
parentfa07f487837e6fd7a0216c3be95536d5feb9517b (diff)
downloadsamba-a693e6f1c71d9772b52cf40a85b0504cea837240.tar.gz
samba-a693e6f1c71d9772b52cf40a85b0504cea837240.tar.xz
samba-a693e6f1c71d9772b52cf40a85b0504cea837240.zip
r26295: Remove use of global_loadparm for net and wb_pam_auth.
(This used to be commit 47696b42987ea67ae1c6c09a4bec5858e5db4542)
Diffstat (limited to 'source4/utils/net/net.c')
-rw-r--r--source4/utils/net/net.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c
index 64e82e226a1..2741f485cc3 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);