s3-schannel: Fix Bug #6697. Interdomain trusts with Windows 2008 R2 DCs.
authorGünther Deschner <gd@samba.org>
Tue, 8 Sep 2009 09:57:52 +0000 (11:57 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 4 Mar 2010 13:11:51 +0000 (14:11 +0100)
commit82265b8a79afcb8c8ecf8899747670cc1e8f27be
tree9bec2ada2092c733ee017dc1ea0b65bdeedc5bca
parente14815f7e2a0103fb5b6c8d5e78b0aeb929a93eb
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
(cherry picked from commit e7e1e1887e79e4dcbd8836b775e387751c44f318)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source/include/rpc_dce.h
source/rpc_client/cli_pipe.c