diff options
author | Matthew Chapman <matty@samba.org> | 1999-05-01 05:56:55 +0000 |
---|---|---|
committer | Matthew Chapman <matty@samba.org> | 1999-05-01 05:56:55 +0000 |
commit | e3a888d5a935047367e531321981cbed8618c5a3 (patch) | |
tree | cfbf41483bffd10b3cac43bb1dc76a955a80bb43 /source3/rpcclient/rpcclient.c | |
parent | 89d51caba5bed5c3329b3776e15fce2bb41f7592 (diff) | |
download | samba-e3a888d5a935047367e531321981cbed8618c5a3.tar.gz samba-e3a888d5a935047367e531321981cbed8618c5a3.tar.bz2 samba-e3a888d5a935047367e531321981cbed8618c5a3.zip |
Adding "time" rpcclient command which displays the remote time.
Also added special "now" time to the "at" command, e.g.:
at now /i cmd ; pops up a command prompt
(This used to be commit f456dcf08ec96c631f5e6f2e857115d4bbf94d1b)
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 20cc3ad49b..255ec4c936 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -107,6 +107,7 @@ struct { {"svcenum", cmd_svc_enum, "[-i] Lists Services Manager"}, {"at", cmd_at, "Scheduler control (at /? for syntax)"}, + {"time", cmd_time, "Display remote time"}, {"regenum", cmd_reg_enum, "<keyname> Registry Enumeration (keys, values)"}, {"regdeletekey",cmd_reg_delete_key, "<keyname> Registry Key Delete"}, {"regcreatekey",cmd_reg_create_key, "<keyname> [keyclass] Registry Key Create"}, |