]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
rpc_host.idl: change server_index from uint8 to uint32
authorStefan Metzmacher <metze@samba.org>
Thu, 12 Oct 2023 10:30:00 +0000 (12:30 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 17 Oct 2023 19:20:38 +0000 (19:20 +0000)
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 <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/librpc/idl/rpc_host.idl
source3/rpc_server/rpc_worker.c

index ab02b87844208a7d17fc0d0bc5aa57ba36b778a3..355ef3cc92587118e6bfb6f7a4e95a2cefbd5bc7 100644 (file)
@@ -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
index 8b614befd169077d1c8eb4b69df21c5289c3ca08..c41e72381fbf70888cc19d74341e2dd60fadf134 100644 (file)
@@ -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;