From bb283af16fe3858310d762cb5998909ae3b810de Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Nov 2009 19:38:09 +0100 Subject: Revert "s3: Do not directly reference the ndr_table_* in rpcclient" This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5. --- source3/rpcclient/cmd_shutdown.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'source3/rpcclient/cmd_shutdown.c') diff --git a/source3/rpcclient/cmd_shutdown.c b/source3/rpcclient/cmd_shutdown.c index 451c26e35a..8db09fef2d 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 } }; -- cgit