s3:smb2_server: do the req->next_status check before the signing checks
authorStefan Metzmacher <metze@samba.org>
Wed, 19 Sep 2012 22:52:19 +0000 (00:52 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Oct 2012 09:05:37 +0000 (10:05 +0100)
commit17615caa52b96f195102c4f5510384d3bedeca6e
tree938db2a2155b5ae115760868c37089d874258ac5
parent941787c24bac5405c99d274b65e7c950c023dd4b
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
(similar to commit 4384485f82aac109bf4c4c31075e313e54b4c076)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit ebabb40d1d423fab720735ac9225a09a8fc5feca)
source3/smbd/smb2_server.c