People keep posting their frustration with trying to configure Sonos to use a Linux shared music folder as the music library. With my recent update to Ubuntu 22.04, my Sonos system stopped being able to read the Linux shared folder. But I actually did find a configuration that revived access. With recent Linux kernels dropping old authentication protocols, the frustration goes beyond the Sonos community.
https://bugzilla.kernel.org/show_bug.cgi?id=215375#c43
This goes into the [global] section of your Linux server’s /etc/samba/smb.conf:
# Allow old client devices (e.g. Sonos) to connect to this machine's samba sever
server min protocol = NT1
lm announce = yes
lanman auth = yes
ntlm auth = yes
# Allow samba client tools to be able to connect to old servers/nas devices
# (e.g. Apple TimeCapsule)
client min protocol = NT1
client ntlmv2 auth = no
client use spnego = no
client lanman auth = yes