diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-01 20:21:52 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-08 00:28:36 +0100 |
commit | 70c698fd547c4bc19cf77693608bbb34acac40b5 (patch) | |
tree | 84f145cb65e7dc14d3cd461c9289f3c92459353b /source3/rpcclient/cmd_shutdown.c | |
parent | be88a126ea50ea7e41583f402013c63234305e48 (diff) | |
download | samba-70c698fd547c4bc19cf77693608bbb34acac40b5.tar.gz samba-70c698fd547c4bc19cf77693608bbb34acac40b5.tar.bz2 samba-70c698fd547c4bc19cf77693608bbb34acac40b5.zip |
s3: Do not directly reference the ndr_table_* in rpcclient
Diffstat (limited to 'source3/rpcclient/cmd_shutdown.c')
-rw-r--r-- | source3/rpcclient/cmd_shutdown.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/source3/rpcclient/cmd_shutdown.c b/source3/rpcclient/cmd_shutdown.c index f79c9aad02..451c26e35a 100644 --- a/source3/rpcclient/cmd_shutdown.c +++ b/source3/rpcclient/cmd_shutdown.c @@ -107,11 +107,14 @@ struct cmd_set shutdown_commands[] = { { "SHUTDOWN" }, #if 0 - { "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" }, + { "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" }, #endif { NULL } }; |