summaryrefslogtreecommitdiffstats
path: root/source/utils/net_help.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-01-15 16:10:57 +0000
committerGerald Carter <jerry@samba.org>2003-01-15 16:10:57 +0000
commit25a9681ddda47a41fac8fdc97ca50b7f4c579eaf (patch)
treebe9d9442231a72b5ad5b4aee5d53feab595f7dc0 /source/utils/net_help.c
parent49685e0fe31f0c77f09217d424c6de91d4cd58ff (diff)
downloadsamba-25a9681ddda47a41fac8fdc97ca50b7f4c579eaf.tar.gz
samba-25a9681ddda47a41fac8fdc97ca50b7f4c579eaf.tar.xz
samba-25a9681ddda47a41fac8fdc97ca50b7f4c579eaf.zip
[merge]
* removed unused variable from rpcclient code * added container option to net command (patch from SuSE) * Makefile patch for examples/VFS from SuSE
Diffstat (limited to 'source/utils/net_help.c')
-rw-r--r--source/utils/net_help.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/utils/net_help.c b/source/utils/net_help.c
index fc0fdd0f09c..782a5300352 100644
--- a/source/utils/net_help.c
+++ b/source/utils/net_help.c
@@ -70,14 +70,14 @@ int net_help_user(int argc, const char **argv)
"\n\tDelete specified user\n");
d_printf("\nnet [<method>] user INFO <name> [misc. options] [targets]"\
"\n\tList the domain groups of the specified user\n");
- d_printf("\nnet [<method>] user ADD <name> [password] "\
+ d_printf("\nnet [<method>] user ADD <name> [password] [-c container] "\
"[-F user flags] [misc. options]"\
" [targets]\n\tAdd specified user\n");
net_common_methods_usage(argc, argv);
net_common_flags_usage(argc, argv);
- d_printf(
- "\t-C or --comment=<comment>\tdescriptive comment (for add only)\n");
+ d_printf("\t-C or --comment=<comment>\tdescriptive comment (for add only)\n");
+ d_printf("\t-c or --container=<container>\tLDAP container, defaults to cn=Users (for add in ADS only)\n");
return -1;
}
@@ -88,12 +88,12 @@ int net_help_group(int argc, const char **argv)
d_printf("net [<method>] group DELETE <name> "\
"[misc. options] [targets]"\
"\n\tDelete specified group\n");
- d_printf("\nnet [<method>] group ADD <name> [-C comment]"\
+ d_printf("\nnet [<method>] group ADD <name> [-C comment] [-c container]"\
" [misc. options] [targets]\n\tCreate specified group\n");
net_common_methods_usage(argc, argv);
net_common_flags_usage(argc, argv);
- d_printf(
- "\t-C or --comment=<comment>\tdescriptive comment (for add only)\n");
+ d_printf("\t-C or --comment=<comment>\tdescriptive comment (for add only)\n");
+ d_printf("\t-c or --container=<container>\tLDAP container, defaults to cn=Users (for add in ADS only)\n");
return -1;
}