From: Stefan Metzmacher Date: Thu, 3 Jul 2008 11:40:31 +0000 (+0200) Subject: dcerpc.idl: the signing overhead can be more than 32 bytes X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=351947dba3f7a26ac871d4aa7b6bba4cd472383a;p=thirdparty%2Fsamba.git 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 --- 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;