s3-schannel: Fix Bug #6697. Interdomain trusts with Windows 2008 R2 DCs.
commit7abfab8b1e41929884ee9210150d0a956c215ed2
authorGünther Deschner <gd@samba.org>
Tue, 8 Sep 2009 09:57:52 +0000 (8 11:57 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 8 Sep 2009 12:32:21 +0000 (8 14:32 +0200)
tree36239bd5a2a571d13d9e3391274dd11ad5a7fc9a
parent6cf7b6c25949e59594218e05dbda425204ac99b4
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 ebd5019ef422a85119a7ea25025ff22d5a3bd757)
source3/include/rpc_dce.h
source3/rpc_client/cli_pipe.c