From 666292129b1cb7df2f3162736d40b53513313139 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Tue, 13 May 2008 11:11:35 +0200 Subject: net: Move "net join" handling into a separate file. (This used to be commit d0237a736858a48494583ce7f960ea980768aa6c) --- source3/utils/net_help.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'source3/utils/net_help.c') diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c index 4bc5c15207..ed55e91526 100644 --- a/source3/utils/net_help.c +++ b/source3/utils/net_help.c @@ -77,17 +77,6 @@ int net_help_group(struct net_context *c, int argc, const char **argv) return -1; } -int net_help_join(struct net_context *c, int argc, const char **argv) -{ - d_printf("\nnet [] join [misc. options]\n" - "\tjoins this server to a domain\n"); - d_printf("Valid methods: (auto-detected if not specified)\n"); - d_printf("\tads\t\t\t\tActive Directory (LDAP/Kerberos)\n"); - d_printf("\trpc\t\t\t\tDCE-RPC\n"); - net_common_flags_usage(c, argc, argv); - return -1; -} - int net_help_share(struct net_context *c, int argc, const char **argv) { d_printf( @@ -234,7 +223,7 @@ int net_help(struct net_context *c, int argc, const char **argv) {"USER", net_help_user}, {"GROUP", net_help_group}, {"GROUPMAP", net_help_groupmap}, - {"JOIN", net_help_join}, + {"JOIN", net_join_usage}, {"DOM", net_help_dom}, {"VALIDATE", net_rap_validate_usage}, {"GROUPMEMBER", net_rap_groupmember_usage}, -- cgit