s3:smb2_server: do the req->next_status check before the signing checks
commit9f73827a8450d0598781fd85f08236d478670d23
authorStefan Metzmacher <metze@samba.org>
Wed, 19 Sep 2012 22:52:19 +0000 (20 00:52 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 28 Sep 2012 07:23:07 +0000 (28 09:23 +0200)
tree7af70c82eff78d353069e97d8473bfe7ea47a643
parentb26bf825be046dd0d0424b53f0c09346888a3df7
s3:smb2_server: do the req->next_status check before the signing checks

Windows 2012 returns NT_STATUS_INVALID_PARAMETER to
the smb2.compound.invalid1 test if that uses signing
(instead of NT_STATUS_ACCESS_DENIED).

metze
(cherry picked from commit 4384485f82aac109bf4c4c31075e313e54b4c076)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_server.c