summaryrefslogtreecommitdiff
path: root/source4/utils/net/net.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-25 12:14:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:23 -0500
commit7eb820d31b39cda74b56c4c2dc66daa768f5216f (patch)
treee8ded6793d270fc569fc78c566b191fc387c15b2 /source4/utils/net/net.c
parent9b54c7ca214194469b263aebaeca74d67c50f7ff (diff)
downloadsamba-7eb820d31b39cda74b56c4c2dc66daa768f5216f.tar.gz
samba-7eb820d31b39cda74b56c4c2dc66daa768f5216f.tar.bz2
samba-7eb820d31b39cda74b56c4c2dc66daa768f5216f.zip
r2066: add 'net time' command
use it like: net time <server> net time <server> -U "" -N net time <server> -U DOM\\user ... metze (This used to be commit ea14b2780f1cb6597ba4e71b83364e6a39e966fe)
Diffstat (limited to 'source4/utils/net/net.c')
-rw-r--r--source4/utils/net/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c
index da64466869..ce817309cc 100644
--- a/source4/utils/net/net.c
+++ b/source4/utils/net/net.c
@@ -135,6 +135,7 @@ static int net_help_usage(struct net_context *ctx, int argc, const char **argv)
/* main function table */
static const struct net_functable const net_functable[] = {
{"password", net_password, net_password_usage, net_password_help},
+ {"time", net_time, net_time_usage, net_time_help},
{"help", net_help, net_help_usage, net_help},
{NULL, NULL}