diff options
author | Simo Sorce <idra@samba.org> | 2002-12-30 04:41:27 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2002-12-30 04:41:27 +0000 |
commit | 60667264b71d624ec45f567170b85589992567ed (patch) | |
tree | c9ccce0ff9c95e8ae9f3059408915eb37b6c73f4 /source3/rpc_client | |
parent | b68e6c99103fd0f1e8a25b2fafe14d7540b2ab10 (diff) | |
download | samba-60667264b71d624ec45f567170b85589992567ed.tar.gz samba-60667264b71d624ec45f567170b85589992567ed.tar.bz2 samba-60667264b71d624ec45f567170b85589992567ed.zip |
the shutdown call does not have a 16 bit flags, but 2 byte representing booleans
this commit change the structure and code to reflect this
some test revelead I'm right.
some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation
(This used to be commit c5892b656dedd0367adc33d9606311d1dde99a58)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_reg.c | 5 |
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)) |