Windows 11 does not apply group policies at logon when Hardened UNC paths are configured with RequireMutualAuthentication=1 (Computer Configuration/Administrative Templates/Network/Network Provider, Hardened UNC Paths). This works without issues on Windows 10. It appears that access to the SYSVOL share fails during logon. Error 2148073478 / Invalid Signature is logged in the Windows event log for the SYSVOL UNC path. According to https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/error-messages-smb-connections this error is related to the Secure Negotiate feature added to SMB 3.0 in Windows Server 2012 and Windows 8, but that predates Windows 10, which works correctly, and I am fairly certain Samba already supports this SMB3 feature. Tested on 4.21.9 and 4.23.3.
Microsoft Customer Service and Support suggested it might be related to issue #15876, but that does not seem accurate because that security hardening was focused on Samba running as a member server in a Windows Active Directory environment, where Microsoft introduced schannel hardening changes on the server side. Microsoft support declined to investigate further, stating that Samba falls outside their support scope. I understand their position, but I was hoping they could explain why Windows behaves this way and whether SMB3 signing is failing or something else is occurring. I hope dochelp will be more willing to assist with troubleshooting.
After troubleshooting with dochelp, we determined that the SESSION SETUP responses must always be signed, even when they are encapsulated within an SMB transform (e.g., when encryption is enabled). See https://lists.samba.org/archive/cifs-protocol/2026-January/004670.html.
Do you have a network capture with decryption keys, it would be good to look at how this happens. Is this a multi-channel bind request or reauth? See https://wiki.samba.org/index.php/Wireshark_Decryption
Created attachment 18794 [details] Decrypted SMB3 Session Setup - Samba
Created attachment 18795 [details] Decrypted SMB3 Session Setup - Windows Server 2019
(In reply to Stefan Metzmacher from comment #3) I have network captures for both Samba ↔ Windows 11 and Windows Server 2019 ↔ Windows 11, and I also have the corresponding decryption keys. I’ve attached screenshots for the Session Setup response traces to this issue. I’m a bit hesitant to share the full network captures publicly. While they shouldn’t contain any sensitive information, they weren’t captured entirely in isolation, so I’d feel more comfortable not posting them openly. If needed, I can send the full captures to you via email. This happens during reauth.
(In reply to Kacper from comment #6) Thanks! I think that's enough to reproduce it.
This bug was referenced in samba master: 2df8022bdc82e216973d8037e053821fe97c224a 4ecb6b83e55bfb62440c1b309bbaa18fd19bb202 5f0a2fec20fa71ccd75bb3d9aaa92cd1233a60db 8ae9253241c311fa3bbe65a98a8c97d9ec0c649b f6790404d6fa04d438b952b6b8f908b6ab4f5d9b 235658e3ecc1d971e7f963edbeba828748871d1c
Created attachment 19209 [details] Patch for 4.25
Created attachment 19210 [details] Patch for 4.24
Created attachment 19211 [details] Patch for 4.23
This bug was referenced in samba v4-24-test: 8c70a5fc99562a19e999c6913a131f4a6bf6fab9 6d446f6d0a2198eaa0863db9c5ec7b4fd6178509 790f544e77966b038bf6a7303c0598e6caeaf76f 1f8576834a30236e28e51fca4e531e23eab2a3c0 3d9dff69fd5b21366d28c7680e38cd90a59de49f a422fae4069dae7bece7a3a3f8f726f712128b0b
This bug was referenced in samba v4-23-test: 6c5d8fcccb8df447777286c4f95191a1f2d82efa b5ee6c9a6f95fe4d59a4d9c7a2669cd87a9abe6f ac38c33562fd613f05555cf9ab8eb690f53edff9 526c62fc7b800bcc23d4fc719242e506b20dae4a 0cf81d5351def9372369cc400b7c05a8355a1337 236b3996424edcc85915932c8203931b9ea8b39d
This bug was referenced in samba v4-25-test: 63fdcb00e559914ed20385658e138022f1c9938f 9f3b75bc7654b85e3719c6c6664fdc4c50b6b75a a635a1ac27e03e7ced5c2a22be8f41380f664115 3d45224be030a208c3583e5ba647519494bb1526 40afaa5caa13c631f42232a4687bb882e4b53f26 f76880fac1e3ba40ab28aee7cc6e70145238e7b7
This bug was referenced in samba v4-25-stable (Release samba-4.25.0): 63fdcb00e559914ed20385658e138022f1c9938f 9f3b75bc7654b85e3719c6c6664fdc4c50b6b75a a635a1ac27e03e7ced5c2a22be8f41380f664115 3d45224be030a208c3583e5ba647519494bb1526 40afaa5caa13c631f42232a4687bb882e4b53f26 f76880fac1e3ba40ab28aee7cc6e70145238e7b7
This bug was referenced in samba v4-23-stable (Release samba-4.23.13): 6c5d8fcccb8df447777286c4f95191a1f2d82efa b5ee6c9a6f95fe4d59a4d9c7a2669cd87a9abe6f ac38c33562fd613f05555cf9ab8eb690f53edff9 526c62fc7b800bcc23d4fc719242e506b20dae4a 0cf81d5351def9372369cc400b7c05a8355a1337 236b3996424edcc85915932c8203931b9ea8b39d
This bug was referenced in samba v4-24-stable (Release samba-4.24.8): 8c70a5fc99562a19e999c6913a131f4a6bf6fab9 6d446f6d0a2198eaa0863db9c5ec7b4fd6178509 790f544e77966b038bf6a7303c0598e6caeaf76f 1f8576834a30236e28e51fca4e531e23eab2a3c0 3d9dff69fd5b21366d28c7680e38cd90a59de49f a422fae4069dae7bece7a3a3f8f726f712128b0b