summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-11-25 00:18:11 +0000
committerAndrew Tridgell <tridge@samba.org>2001-11-25 00:18:11 +0000
commit9255dc9a14fabe4906c8a53ae570b1f07bd29de1 (patch)
treec4dcc305af6b5230da92bbdfa44c06632cc89a2a /source3/utils/net.c
parent7b288fe17be3ffebd7297ac87072c442bf7039e5 (diff)
downloadsamba-9255dc9a14fabe4906c8a53ae570b1f07bd29de1.tar.gz
samba-9255dc9a14fabe4906c8a53ae570b1f07bd29de1.tar.bz2
samba-9255dc9a14fabe4906c8a53ae570b1f07bd29de1.zip
made a "net ads" command, currently with "net ads join" and "net ads leave"
(This used to be commit 2f8fa175b189c2d11676245b01d3201c0a4f0826)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r--source3/utils/net.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index d1d63fe2af..f3a9953e87 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -35,7 +35,7 @@
/* */
/*****************************************************/
-#include <includes.h>
+#include "includes.h"
/***********************************************************************/
/* Beginning of internationalization section. Translatable constants */
@@ -1190,7 +1190,7 @@ static int help_usage(void)
"\n"\
"Valid functions are:\n"\
" FILE SHARE SESSION SERVER DOMAIN PRINTQ USER GROUP\n"\
-" VALIDATE GROUPMEMBER ADMIN SERVICE PASSWORD JOIN\n");
+" VALIDATE GROUPMEMBER ADMIN SERVICE PASSWORD ADS\n");
return -1;
}
@@ -1213,7 +1213,7 @@ static int net_help(int argc, const char **argv)
{"ADMIN", admin_usage},
{"SERVICE", service_usage},
{"PASSWORD", password_usage},
- {"JOIN", net_join_usage},
+ {"ADS", net_ads_usage},
{NULL, NULL}};
return net_run_function(argc, argv, func, help_usage);
@@ -1234,7 +1234,7 @@ static struct functable net_func[] = {
{"ADMIN", net_admin},
{"SERVICE", net_service},
{"PASSWORD", net_password},
- {"JOIN", net_join},
+ {"ADS", net_ads},
{"HELP", net_help},
{NULL, NULL}
};