s3-schannel: Fix Bug #6697. Interdomain trusts with Windows 2008 R2 DCs.
commit227b5a2d4b0fea7b8300120fd44359a30b06e52c
authorGünther Deschner <gd@samba.org>
Tue, 8 Sep 2009 09:57:52 +0000 (8 11:57 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 8 Sep 2009 20:17:22 +0000 (8 22:17 +0200)
tree45ffc48747e7f46435c05da8fb683cb16b401a16
parent9c8f8b651d5504d183fb6100ff2efbfe29270888
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 5b2b5abf4f630c28dc5f018ecced3894ae66f491)
source3/include/rpc_dce.h
source3/rpc_client/cli_pipe.c