s3:smb2_server: don't rely on the SMB2_HDR_FLAG_SIGNED if signing is required
commitf687a770c6fe7f40e5b4b88668444775006fcb39
authorStefan Metzmacher <metze@samba.org>
Mon, 23 Sep 2013 18:51:30 +0000 (23 20:51 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 20 May 2015 14:34:29 +0000 (20 16:34 +0200)
tree20b739a9ce7d179f0b694dda3ca3928d78c2cf3e
parent87b753514d90b1accc5bc4f9ce3933343b1255a9
s3:smb2_server: don't rely on the SMB2_HDR_FLAG_SIGNED if signing is required

Windows (at least the test suites) may skip the SMB2_HDR_FLAG_SIGNED
in a reauth session setup, but still provide a valid signature.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 4a7b792bc6d463a3aa4e1150a271ed6b929276cc)
source3/smbd/smb2_server.c