From 351947dba3f7a26ac871d4aa7b6bba4cd472383a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 3 Jul 2008 13:40:31 +0200 Subject: [PATCH] dcerpc.idl: the signing overhead can be more than 32 bytes Windows seems to use 64 here, so we do now. Before we got nca_proto_error fault because we send fragments larger than the negotiated max frag size. If the max frag size is 5840, we're sending 5837 bytes when the auth_len is 45 and that matches w2k3 traffic. metze --- source/librpc/idl/dcerpc.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/librpc/idl/dcerpc.idl b/source/librpc/idl/dcerpc.idl index e228d85c464..57028ffcbf7 100644 --- a/source/librpc/idl/dcerpc.idl +++ b/source/librpc/idl/dcerpc.idl @@ -30,7 +30,7 @@ interface dcerpc } dcerpc_bind; const uint8 DCERPC_REQUEST_LENGTH = 24; - const uint8 DCERPC_MAX_SIGN_SIZE = 32; + const uint8 DCERPC_MAX_SIGN_SIZE = 64; typedef struct { } dcerpc_empty; -- 2.47.3