dcerpc.idl: the signing overhead can be more than 32 bytes
authorStefan Metzmacher <metze@samba.org>
Thu, 3 Jul 2008 11:40:31 +0000 (13:40 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 3 Jul 2008 13:49:56 +0000 (15:49 +0200)
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

index e228d85c464df93bd9522659c1c6142f330b7d69..57028ffcbf7da01ca4f53afd6f37ab0c8f57b551 100644 (file)
@@ -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;