smb2_sesssetup: only set NT_STATUS_MORE_PROCESSING_REQUIRED if a reauth can start
authorStefan Metzmacher <metze@samba.org>
Tue, 9 Mar 2021 16:11:04 +0000 (17:11 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 17 Mar 2021 00:49:32 +0000 (00:49 +0000)
commitfd9191fb9c9781b10512048decad0bc8604f7124
tree9d9f6157e85e95416abfc2763258e8f6c655c7eb
parentd95e90fe4604e095161c0db8d925f3fc3c766070
smb2_sesssetup: only set NT_STATUS_MORE_PROCESSING_REQUIRED if a reauth can start

When the session is not valid on the current connection it should not be
possible to start a reauth.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/smb2.session
source3/smbd/smb2_sesssetup.c