summaryrefslogtreecommitdiffstats
path: root/source3/rpcclient/cmd_shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient/cmd_shutdown.c')
-rw-r--r--source3/rpcclient/cmd_shutdown.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/source3/rpcclient/cmd_shutdown.c b/source3/rpcclient/cmd_shutdown.c
index 451c26e35a8..8db09fef2df 100644
--- a/source3/rpcclient/cmd_shutdown.c
+++ b/source3/rpcclient/cmd_shutdown.c
@@ -107,14 +107,11 @@ struct cmd_set shutdown_commands[] = {
{ "SHUTDOWN" },
#if 0
- { "shutdowninit", RPC_RTYPE_NTSTATUS, cmd_shutdown_init, NULL,
- NDR_INITSHUTDOWN_UUID, NDR_INITSHUTDOWN_VERSION,
- "Remote Shutdown (over shutdown pipe)",
- "syntax: shutdown [-m message] [-t timeout] [-r] [-h] [-f] (-r == reboot, -h == halt, -f == force)" },
- { "shutdownabort", RPC_RTYPE_NTSTATUS, cmd_shutdown_abort, NULL,
- NDR_INITSHUTDOWN_UUID, NDR_INITSHUTDOWN_VERSION,
- "Abort Shutdown (over shutdown pipe)",
- "syntax: shutdownabort" },
+ { "shutdowninit", RPC_RTYPE_NTSTATUS, cmd_shutdown_init, NULL, &ndr_table_initshutdown.syntax_id, "Remote Shutdown (over shutdown pipe)",
+ "syntax: shutdown [-m message] [-t timeout] [-r] [-h] [-f] (-r == reboot, -h == halt, -f == force)" },
+
+ { "shutdownabort", RPC_RTYPE_NTSTATUS, cmd_shutdown_abort, NULL, &ndr_table_initshutdown.syntax_id, "Abort Shutdown (over shutdown pipe)",
+ "syntax: shutdownabort" },
#endif
{ NULL }
};