summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-07-03 13:40:31 +0200
committerStefan Metzmacher <metze@samba.org>2008-07-03 15:49:56 +0200
commitb6327116dd7f0e634e24e5a86e325b93567ecbde (patch)
treef624e0be8fba8af2614982e1a538f2a0cea5e710
parent8bd7dabb072942ed0955c8b2e26ee41c3edae0bf (diff)
downloadsamba-b6327116dd7f0e634e24e5a86e325b93567ecbde.tar.gz
samba-b6327116dd7f0e634e24e5a86e325b93567ecbde.tar.bz2
samba-b6327116dd7f0e634e24e5a86e325b93567ecbde.zip
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 (This used to be commit 351947dba3f7a26ac871d4aa7b6bba4cd472383a)
-rw-r--r--source4/librpc/idl/dcerpc.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/idl/dcerpc.idl b/source4/librpc/idl/dcerpc.idl
index e228d85c46..57028ffcbf 100644
--- a/source4/librpc/idl/dcerpc.idl
+++ b/source4/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;