From e4bdab659bbe88f8687cefea9ef80850b585a37d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 12 Oct 2023 12:30:00 +0200 Subject: [PATCH] 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 --- source3/librpc/idl/rpc_host.idl | 2 +- source3/rpc_server/rpc_worker.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.3