summaryrefslogtreecommitdiff
path: root/source3/utils/net_help.c
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-05-13 11:11:35 +0200
committerKai Blin <kai@samba.org>2008-05-20 14:27:24 +0200
commit666292129b1cb7df2f3162736d40b53513313139 (patch)
treeffc9621487b89b6670eeb3e335df6318c4229b35 /source3/utils/net_help.c
parent45653bd1b1a59435dbb2f3d8f19e485f4c20e2fb (diff)
downloadsamba-666292129b1cb7df2f3162736d40b53513313139.tar.gz
net: Move "net join" handling into a separate file.
(This used to be commit d0237a736858a48494583ce7f960ea980768aa6c)
Diffstat (limited to 'source3/utils/net_help.c')
-rw-r--r--source3/utils/net_help.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c
index 4bc5c15207d..ed55e915260 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 [<method>] 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},