From: Stefan Metzmacher Date: Thu, 12 Oct 2023 10:30:00 +0000 (+0200) Subject: rpc_host.idl: change server_index from uint8 to uint32 X-Git-Tag: talloc-2.4.2~1258 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4bdab659bbe88f8687cefea9ef80850b585a37d;p=thirdparty%2Fsamba.git rpc_host.idl: change server_index from uint8 to uint32 This reflects what we're using in the C code already... Note this is an incompatible change, but we also changed from named_pipe_auth_req_info7 to named_pipe_auth_req_info8 in master... Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/source3/librpc/idl/rpc_host.idl b/source3/librpc/idl/rpc_host.idl index ab02b878442..355ef3cc925 100644 --- a/source3/librpc/idl/rpc_host.idl +++ b/source3/librpc/idl/rpc_host.idl @@ -61,7 +61,7 @@ interface rpc_host_msg * in its arrays to find the rpcd that sent this * message. */ - uint8 server_index; + uint32 server_index; /** * @brief Which of the processes of a helper prog is this from diff --git a/source3/rpc_server/rpc_worker.c b/source3/rpc_server/rpc_worker.c index 8b614befd16..c41e72381fb 100644 --- a/source3/rpc_server/rpc_worker.c +++ b/source3/rpc_server/rpc_worker.c @@ -95,7 +95,7 @@ static void rpc_worker_print_interface( static NTSTATUS rpc_worker_report_status(struct rpc_worker *worker) { - uint8_t buf[9]; + uint8_t buf[12]; DATA_BLOB blob = { .data = buf, .length = sizeof(buf), }; enum ndr_err_code ndr_err; NTSTATUS status;