git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8aa312
)
r18714: fix the build after replaceing rpccli_reg_abort_shutdown()
author
Gerald Carter
<jerry@samba.org>
Wed, 20 Sep 2006 16:33:21 +0000
(16:33 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:00:51 +0000
(12:00 -0500)
source/utils/net_rpc.c
patch
|
blob
|
history
diff --git
a/source/utils/net_rpc.c
b/source/utils/net_rpc.c
index 488cd1aff48a6dcbcf5296871bddb9489bd9be83..7b5c00ee3cc1042abf3a55bd73695c5a47770d23 100644
(file)
--- a/
source/utils/net_rpc.c
+++ b/
source/utils/net_rpc.c
@@
-5109,8
+5109,9
@@
static NTSTATUS rpc_reg_shutdown_abort_internals(const DOM_SID *domain_sid,
const char **argv)
{
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
+ uint16_t server = 1;
- result =
werror_to_ntstatus(rpccli_reg_abort_shutdown(pipe_hnd, mem_ctx)
);
+ result =
rpccli_winreg_AbortSystemShutdown(pipe_hnd, mem_ctx, &server
);
if (NT_STATUS_IS_OK(result)) {
d_printf("\nShutdown successfully aborted\n");