Sonos playing music from Ubuntu

  • 28 November 2022
  • 2 replies
  • 411 views

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


2 replies

sorry, should have added that after any modification to smb.conf:

sudo service smbd restart

The config that works for me is as follows:

 

[sambashare]    

comment = Sambashare Shared Folder    

path = /home/john/Music/sambashare    

guest ok = yes    

guest only = yes    

available = yes    

writable = yes    

browsable = yes f

orce user = john    

force group = users

Reply