s3:smbd: let smb2srv_session_lookup_global() clear the signing/encryption_flags
authorStefan Metzmacher <metze@samba.org>
Thu, 10 Jun 2021 16:03:15 +0000 (16:03 +0000)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Jul 2021 00:06:31 +0000 (00:06 +0000)
commit2b36af83f68f588806a73a2688890ab9742242ad
tree798eb28dfbe8c46176c59f6ac1e7b43754df8985
parenta262568eaabd7d9ced554c408e76a38745d85f2a
s3:smbd: let smb2srv_session_lookup_global() clear the signing/encryption_flags

When we make use of this we only in order to provide the correct
error codes anyway.

This actually fixes even more error codes.

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