We need Windows 11 to be able to connect to Samba shares hosted on Rocky Linux that do not require a username and password.
The Problem
Windows 11 may refuse to connect to Samba guest shares because newer SMB client defaults restrict guest access and SMB signing behaviour.
The Solution
Allow guest SMB logons and disable SMB signing requirements.
Run PowerShell as Administrator:
Set-SmbClientConfiguration -EnableInsecureGuestLogons $true -Force Set-SmbClientConfiguration -RequireSecuritySignature $false -Force Set-SmbClientConfiguration -EnableSecuritySignature $false -Force
Verify the configuration:
Get-SmbClientConfiguration | Select EnableInsecureGuestLogons,RequireSecuritySignature,EnableSecuritySignature

SMB v1 => TRUE
SMBv2 et SMBv3 => FALSE