From 9255dc9a14fabe4906c8a53ae570b1f07bd29de1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 25 Nov 2001 00:18:11 +0000 Subject: made a "net ads" command, currently with "net ads join" and "net ads leave" (This used to be commit 2f8fa175b189c2d11676245b01d3201c0a4f0826) --- source3/utils/net.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/utils/net.c') diff --git a/source3/utils/net.c b/source3/utils/net.c index d1d63fe2af6..f3a9953e87a 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -35,7 +35,7 @@ /* */ /*****************************************************/ -#include +#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} }; -- cgit