smb2_server: decouple IOCTL check from signing/encryption states
authorStefan Metzmacher <metze@samba.org>
Wed, 15 Sep 2021 15:25:53 +0000 (17:25 +0200)
committerJule Anger <janger@samba.org>
Mon, 13 Dec 2021 08:41:08 +0000 (08:41 +0000)
commitfd82e1e4bad25696b62b4b308f2cc81b131e06a8
treed105231eff9d05f5aebaf7b9890d41cb868c2143
parentea6db15c31460e4ec07b70a5139960552632a8ba
smb2_server: decouple IOCTL check from signing/encryption states

There's no reason to handle FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT
differently if signing/encryption is used.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

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