summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_reg.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-03-17 05:55:41 +0000
committerTim Potter <tpot@samba.org>2003-03-17 05:55:41 +0000
commit1eae003fefaa8e4e9e131c9d5f2a299cec2b5e55 (patch)
treebdefc7df2e7fac926d5c1402b175428ee985c0ee /source3/rpcclient/cmd_reg.c
parent355bea4b2cd62bdd00bfbb3fba017c62b11ebc95 (diff)
downloadsamba-1eae003fefaa8e4e9e131c9d5f2a299cec2b5e55.tar.gz
samba-1eae003fefaa8e4e9e131c9d5f2a299cec2b5e55.tar.bz2
samba-1eae003fefaa8e4e9e131c9d5f2a299cec2b5e55.zip
Applied waider's patch to return DOS error codes for pipes that
support it. (This used to be commit ac3df9a8051bd105e8e4192d36b3024fdf9f9506)
Diffstat (limited to 'source3/rpcclient/cmd_reg.c')
-rw-r--r--source3/rpcclient/cmd_reg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_reg.c b/source3/rpcclient/cmd_reg.c
index 8943331dab..bf85d21716 100644
--- a/source3/rpcclient/cmd_reg.c
+++ b/source3/rpcclient/cmd_reg.c
@@ -970,10 +970,10 @@ struct cmd_set reg_commands[] = {
{ "REG" },
- { "shutdown", cmd_reg_shutdown, PI_WINREG, "Remote Shutdown",
+ { "shutdown", RPC_RTYPE_NTSTATUS, cmd_reg_shutdown, NULL, PI_WINREG, "Remote Shutdown",
"syntax: shutdown [-m message] [-t timeout] [-r] [-h] [-f] (-r == reboot, -h == halt, -f == force)" },
- { "abortshutdown", cmd_reg_abort_shutdown, PI_WINREG, "Abort Shutdown",
+ { "abortshutdown", RPC_RTYPE_NTSTATUS, cmd_reg_abort_shutdown, NULL, PI_WINREG, "Abort Shutdown",
"syntax: abortshutdown" },
/*
{ "regenum", cmd_reg_enum, "Registry Enumeration",