summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-08-05 14:11:50 +0000
committerAndrew Tridgell <tridge@samba.org>2002-08-05 14:11:50 +0000
commitcded51d936dcbd31f5968570de5be6ad0ad9931d (patch)
tree86c686aad8dfec6cd39dfbbc7bbd91c6711e7415 /source3/utils/net_rpc.c
parentff2132e1b37cfca8d36fe515dd1a5139459dd719 (diff)
downloadsamba-cded51d936dcbd31f5968570de5be6ad0ad9931d.tar.gz
samba-cded51d936dcbd31f5968570de5be6ad0ad9931d.tar.bz2
samba-cded51d936dcbd31f5968570de5be6ad0ad9931d.zip
added 'net rpc testjoin' and 'net ads testjoin' commands
unfortuately we don't seem to be able to auto-test the ADS join due to a rather nasty property of the GSSAPI library. (This used to be commit 87c34a974a91e940bd26078a68dd84f4341d6913)
Diffstat (limited to 'source3/utils/net_rpc.c')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index ae956076d5..55e8a497cc 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -2120,6 +2120,7 @@ int net_rpc_usage(int argc, const char **argv)
{
d_printf(" net rpc info \t\t\tshow basic info about a domain \n");
d_printf(" net rpc join \t\t\tto join a domain \n");
+ d_printf(" net rpc testjoin \t\t\ttests that a join is valid\n");
d_printf(" net rpc user \t\t\tto add, delete and list users\n");
d_printf(" net rpc group \t\tto list groups\n");
d_printf(" net rpc share \t\tto add, delete, and list shares\n");
@@ -2182,6 +2183,7 @@ int net_rpc(int argc, const char **argv)
struct functable func[] = {
{"info", net_rpc_info},
{"join", net_rpc_join},
+ {"testjoin", net_rpc_testjoin},
{"user", net_rpc_user},
{"group", net_rpc_group},
{"share", net_rpc_share},