summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-04 07:50:04 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-04 07:50:04 +0000
commitb327f5ba53788f6ef758af57a8845a44abba69d3 (patch)
tree02d7184416f83a2a2d71162c0fb143a3f3c3da80 /source3/rpc_client
parent5714c1e0b0e09050d38e917b9c5d9988b818128d (diff)
downloadsamba-b327f5ba53788f6ef758af57a8845a44abba69d3.tar.gz
samba-b327f5ba53788f6ef758af57a8845a44abba69d3.tar.bz2
samba-b327f5ba53788f6ef758af57a8845a44abba69d3.zip
Merge from HEAD - idra's fix for the fact that the shutdown command takes two 1
byte boolean flags, not a 16 bit bitmask. Andrew Bartlett (This used to be commit a4f7777ca08c732ace2ba60bc0ecffbea1239fc3)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_reg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c
index aaf18882f7..1e83295414 100644
--- a/source3/rpc_client/cli_reg.c
+++ b/source3/rpc_client/cli_reg.c
@@ -28,7 +28,8 @@
/* Shutdown a server */
NTSTATUS cli_reg_shutdown(struct cli_state * cli, TALLOC_CTX *mem_ctx,
- const char *msg, uint32 timeout, uint16 flags)
+ const char *msg, uint32 timeout, BOOL reboot,
+ BOOL force)
{
prs_struct qbuf;
prs_struct rbuf;
@@ -46,7 +47,7 @@ NTSTATUS cli_reg_shutdown(struct cli_state * cli, TALLOC_CTX *mem_ctx,
/* Marshall data and send request */
- init_reg_q_shutdown(&q_s, msg, timeout, flags);
+ init_reg_q_shutdown(&q_s, msg, timeout, reboot, force);
if (!reg_io_q_shutdown("", &q_s, &qbuf, 0) ||
!rpc_api_pipe_req(cli, REG_SHUTDOWN, &qbuf, &rbuf))