Ubuntu 20 vs Sonos: SMBv1

After I upgraded to Ubuntu 20.04 my music library stopped working on my Sonos. Turns out this is a Samba problem. Somewhere along the line Samba disabled SMBv1 by default; apparently it’s insecure and old. However some clients like Sonos only support SMBv1, so the result sucks.

The fix is easy. Add this to your smb.conf and restart Samba

server min protocol = NT1

I also have these lines lurking around for other obsolete clients, but I’m not sure they even work any more. They aren’t necessary for Sonos.

ntlm auth = yes
nltm auth = ntlmv1-permitted

Sonos sure could do a nicer job of error handling. The only error you get is “it failed” with a link to some irrelevant docs about Windows stack size. I figured out the real problem in this Reddit thread.

Apparently this is also a problem with Synology servers, which recently switched to SMBv2 or above only.

I don’t know if there’s a security risk in exposing SMBv1 this way. It’s all behind my firewall so I’m kind of hoping the Maginot line keeps me safe. Also it’s a freakin guest read only fileshare, why is there any login protocol at all? Ugh.

It’d be nice if Sonos upgraded to a newer SMB client, but apparently they’re not in a hurry to. And now given the major platform switch plus their emphasis on streaming services over local music, I’m a little afraid SMB may never be updated on Sonos.

5 thoughts on “Ubuntu 20 vs Sonos: SMBv1

  1. yup, sigh. i had the same problem with Sonos and a recent Synology NAS. SMB1 fix was straightforward, but still felt unnecessarily rough for what should both be consumer electronics. ideal world vs real world, i guess, especially with interop across different companies.

  2. Plex and Subsonic are the only ways I have had any success getting around the Sonos SMBv1 file limit. Not sure that either are “free free” though, Plex has worked for me most recently FWIW. An alternative is an old AirPort Extreme or Time Capsule and use it on network solely for its SMBv1 file share but again I’m not sure that this is “safe” per se.

    1. well, per my instructions above, any Linux box running Samba (or any other OS for that matter) can still serve SMBv1. It’s not even hard to turn on, you just have to know to do it.

      1. For sure, easy enough. If you do ever run up against the Sonos 40-65k music track limit those are the only two options I’ve found that worked somewhat reliably. I’ll be curious to see what Sonos implements for large local libraries (if anything at all) in this upcoming major update. Might be time to dust off my vinyl ;).

Comments are closed.