s3:smb2_server: don't rely on the SMB2_HDR_FLAG_SIGNED if signing is required
authorStefan Metzmacher <metze@samba.org>
Mon, 23 Sep 2013 18:51:30 +0000 (20:51 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 2 Oct 2013 13:11:22 +0000 (15:11 +0200)
commit4a7b792bc6d463a3aa4e1150a271ed6b929276cc
tree01816c15888c469ff841348690376218366ae268
parent7c0277c923443402b8a292fd3b3b1faba1da6dd5
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>
source3/smbd/smb2_server.c