CVE-2023-3347: smbd: fix "server signing = mandatory"
authorRalph Boehme <slow@samba.org>
Tue, 20 Jun 2023 13:33:02 +0000 (15:33 +0200)
committerJule Anger <janger@samba.org>
Fri, 14 Jul 2023 13:12:41 +0000 (15:12 +0200)
commit0815d4019378dffc8e8e993b6a42a18425937a50
treef4f3f27cbf53a74d444443c24dc68cb37260e59c
parent24157fb3be56ba88eb581e5c559a11887a486e82
CVE-2023-3347: smbd: fix "server signing = mandatory"

This was broken by commit 1f3f6e20dc086a36de52bffd0bc36e15fb19e1c6 because when
calling srv_init_signing() very early after accepting the connection in
smbd_add_connection(), conn->protocol is still PROTOCOL_NONE.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
selftest/knownfail.d/samba3.smb2.session-require-signing [deleted file]
source3/smbd/smb2_signing.c