I’ve been using Sonos for over 7 years. My music folder is in my file server running Linux. I’ve setup a SMB share for this folder and add it to my Sonos music library so that Sonos has access to my music library. This setup has worked fine for the last 7 years. After my latest update of my server from Ubuntu 16.04 to 18.04, Sonos stopped playing my local files. A little troubleshooting showed that the issue seemed to be that Sonos was unable to access the shared folder on my file server. But I was able to access the share fine from Windows. Searching around the Interwebz brought up this post in the Sonos forums – https://en.community.sonos.com/troubleshooting-228999/cannot-add-music-library-access-to-shared-folder-is-denied-6796770 and this hit the issue on the head. Starting from v4.5 Samba disables NTLMv1 auth by default. Adding ntlm auth = yes
to the global section of my smb.conf and restarting the SMBD service fixed the problem. Hope this is helpful to anyone who’s having issues with accessing their shared folders from Sonos.
If you are seeing problems in Ubuntu 20.04, see this post for additional configuration updates you need to allow Sonos access to SMB shares on your Ubuntu server.
Thank you very much. You saved me hours tracking down my issue.
tnx, fixed the problem for me (after upgrading Debian from Wheezy to Stretch got the same error “access denied” on my Sonos app when trying to play a song from my samba server)
Thanks a lot! You are now top search result for “sonos samba” as well.
Thanks a lot! Happy to have my Sonos up and running again.