summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads.c
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-04-05 01:36:28 +0000
committerJim McDonough <jmcd@samba.org>2002-04-05 01:36:28 +0000
commit1458b7c7959be7720162fef441025954f0082fe9 (patch)
tree008111ed84f2880495daff3930255f11e7fba9cd /source3/utils/net_ads.c
parent05f973df826911159bb9ea57a2641acd57fdd30d (diff)
downloadsamba-1458b7c7959be7720162fef441025954f0082fe9.tar.gz
samba-1458b7c7959be7720162fef441025954f0082fe9.tar.bz2
samba-1458b7c7959be7720162fef441025954f0082fe9.zip
Lots more net consistency work:
- Added net_help.c for unified help when possible - Added net rpc user listing, delete, info commands - Unified net user command to autodetect ads/rpc/rap (try in that order) - Added generic routine for detecting rpc (protocol > PROTOCOL_NT1) - I'm sure I forgot something. (This used to be commit 9daa5788c822cf1ad20dc703e7f03b9ee82987bf)
Diffstat (limited to 'source3/utils/net_ads.c')
-rw-r--r--source3/utils/net_ads.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 2696152b12..260f49ee76 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -162,16 +162,7 @@ static void usergrp_display(char *field, void **values, void *data_area)
static int net_ads_user_usage(int argc, const char **argv)
{
- d_printf("\nnet ads user \n\tList users\n");
- d_printf("\nnet ads user DELETE <name>"\
- "\n\tDelete specified user\n");
- d_printf("\nnet ads user INFO <name>"\
- "\n\tList the domain groups of the specified user\n");
- d_printf("\nnet ads user ADD <name> [-F user flags]"\
- "\n\tAdd specified user\n");
- net_common_flags_usage(argc, argv);
-
- return -1;
+ return net_help_user(argc, argv);
}
static int ads_user_add(int argc, const char **argv)