{"id":264,"date":"2018-10-30T17:14:20","date_gmt":"2018-10-31T01:14:20","guid":{"rendered":"http:\/\/nramkumar.org\/tech\/?p=264"},"modified":"2021-08-16T11:47:03","modified_gmt":"2021-08-16T19:47:03","slug":"sonos-and-samba-fix-access-denied-problems-with-shared-folders-in-sonos","status":"publish","type":"post","link":"https:\/\/nramkumar.org\/tech\/blog\/2018\/10\/30\/sonos-and-samba-fix-access-denied-problems-with-shared-folders-in-sonos\/","title":{"rendered":"Sonos and Samba &#8211; Fix access denied problems with shared folders in Sonos"},"content":{"rendered":"<p>I&#8217;ve been using Sonos for over 7 years. My music folder is in my file server running Linux. I&#8217;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 &#8211; 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 <code>ntlm auth = yes<\/code> to the global section of my smb.conf and restarting the SMBD service fixed the problem. Hope this is helpful to anyone who&#8217;s having issues with accessing their shared folders from Sonos.<\/p>\n<p>If you are seeing problems in Ubuntu 20.04, see <a href=\"https:\/\/nramkumar.org\/tech\/blog\/2021\/08\/16\/sonos-and-ubuntu-20-04-samba\/\">this post<\/a> for additional configuration updates you need to allow Sonos access to SMB shares on your Ubuntu server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using Sonos for over 7 years. My music folder is in my file server running Linux. I&#8217;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&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-264","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/comments?post=264"}],"version-history":[{"count":3,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/264\/revisions"}],"predecessor-version":[{"id":357,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/264\/revisions\/357"}],"wp:attachment":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/media?parent=264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/categories?post=264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/tags?post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}