summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-01-15 16:07:14 +0000
committerGerald Carter <jerry@samba.org>2003-01-15 16:07:14 +0000
commit43e4cae106ebc581994dccbf1cc4c9c9559e3e8a (patch)
tree9321ad16d9eae20b4a269e1ad1b12448ce5e2385 /source3/utils/net.c
parent58fe4d9c20203f6f55c8e995402e156becb91b3e (diff)
downloadsamba-43e4cae106ebc581994dccbf1cc4c9c9559e3e8a.tar.gz
samba-43e4cae106ebc581994dccbf1cc4c9c9559e3e8a.tar.bz2
samba-43e4cae106ebc581994dccbf1cc4c9c9559e3e8a.zip
* removed unused variable from rpcclient code
* added container option to net command (patch from SuSE) * Makefile patch for examples/VFS from SuSE (This used to be commit 4a6d8280ea27ca7a6998219aacc4b15b1227a659)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r--source3/utils/net.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 34822670d1..5c1156abf9 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -68,6 +68,7 @@ int opt_force = 0;
int opt_port = 0;
int opt_maxusers = -1;
const char *opt_comment = "";
+char *opt_container = "cn=Users";
int opt_flags = -1;
int opt_jobid = 0;
int opt_timeout = 0;
@@ -525,6 +526,7 @@ static struct functable net_func[] = {
{"myname", 'n', POPT_ARG_STRING, &opt_requester_name},
{"conf", 's', POPT_ARG_STRING, &servicesf},
{"server", 'S', POPT_ARG_STRING, &opt_host},
+ {"container", 'c', POPT_ARG_STRING, &opt_container},
{"comment", 'C', POPT_ARG_STRING, &opt_comment},
{"maxusers", 'M', POPT_ARG_INT, &opt_maxusers},
{"flags", 'F', POPT_ARG_INT, &opt_flags},