diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-08 19:38:09 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-08 19:43:47 +0100 |
commit | bb283af16fe3858310d762cb5998909ae3b810de (patch) | |
tree | 1787659360b5405de29cbaaad39bf2a209b436a2 /source3/rpcclient/cmd_shutdown.c | |
parent | e181b889784e6aed47e2fcc86add736d0b04daf2 (diff) | |
download | samba-bb283af16fe3858310d762cb5998909ae3b810de.tar.gz samba-bb283af16fe3858310d762cb5998909ae3b810de.tar.bz2 samba-bb283af16fe3858310d762cb5998909ae3b810de.zip |
Revert "s3: Do not directly reference the ndr_table_* in rpcclient"
This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5.
Diffstat (limited to 'source3/rpcclient/cmd_shutdown.c')
-rw-r--r-- | source3/rpcclient/cmd_shutdown.c | 13 |
1 files changed, 5 insertions, 8 deletions
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 } }; |