From 5b2b5abf4f630c28dc5f018ecced3894ae66f491 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 8 Sep 2009 11:57:52 +0200 Subject: s3-schannel: Fix Bug #6697. Interdomain trusts with Windows 2008 R2 DCs. The Schannel verifier (aka NL_AUTH_SIGNATURE) structure (32 byte) sent from a W2k8r2 DC is passed in a buffer with the size of a NL_AUTH_SHA2_SIGNATURE (56 byte). We should just ignore the remaining 12 zeroed bytes and proceed. Guenther --- source3/include/rpc_dce.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/rpc_dce.h') diff --git a/source3/include/rpc_dce.h b/source3/include/rpc_dce.h index 3dfbc1672e..cd65ac8656 100644 --- a/source3/include/rpc_dce.h +++ b/source3/include/rpc_dce.h @@ -92,7 +92,7 @@ enum schannel_direction { }; /* Maximum size of the signing data in a fragment. */ -#define RPC_MAX_SIGN_SIZE 0x20 /* 32 */ +#define RPC_MAX_SIGN_SIZE 0x38 /* 56 */ /* Maximum PDU fragment size. */ /* #define MAX_PDU_FRAG_LEN 0x1630 this is what wnt sets */ -- cgit