Skip to main content

Sonos playing music from Ubuntu

  • November 28, 2022
  • 2 replies
  • 734 views

Forum|alt.badge.img

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

Did you find what you were looking for?
This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

Forum|alt.badge.img
  • Trending Lyricist I
  • November 28, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings