After researching, tracing and trying multiple config changes finally got my Sonos S1 working with TrueNAS-13.0-U6.2. Here my configuration, hope it will helps others:
Services / SMB:
Enable SMB1 support: checked
NTLMv1 Auth: checked
Guest account: nobody
Auxiliary parameters: unix extensions = No
Sharing / SMB:
Name: Music
Path: </your/path/to/music>
Purpose: No presets
Enabled: checked
Enable ACL: checked
Export Read Only: checked
Browsable to Network Clients: checked
Allow Guest Access: checked
All other checkboxes: unchecked
Auxiliary Parameters: public=Yes
Sharing / SMB / Share ACL:
Share Name: Music
SID: S-1-1-0
Domain:
Name: Everyone
Permission: FULL
Type: ALLOWED
Then on you Sonos S1 phone app, go to Settings and “Music Library Setup” and add:
//<IP_OF_YOUR_NAS>/Music
(leave user/passowrd blank)
1 Like
It’s all good except keep in mind that SMB1 is fundamentally insecure and these settings affect all SMB shares on your NAS. I set up a cheap Raspberry Pi as my SMB share for Sonos, then rsync updates from the NAS to the Raspberry Pi. That keeps my NAS shares at SMB3, etc. and the Raspberry Pi server also acts as a canary in a coalmine.
2 Likes
As others commented, SMBv1 is insecure, so use it at your own risk!
I am using TrueNAS scale ElectricEel 24.10.1
Unfortunately the options to set Auxiliary Parameters have been removed.
To add parameters to SMB Services:
Open a shell in TrueNAS
Enter the following commands:
CLI
service smb update smb_options=“unix extensions = No”
To add parameters to smb sharing:
Enter the following commands:
CLI
sharing smb query - this will give you the ID number of the share you want to edit
sharing smb update xx - where xx is the ID number of the share
find: auxsmbconf: and change to auxsmbconf: public=Yes
save with F2 and exit with F10
In my case I did need to provide a UserID and Password to let Sonos S1 acces my TrueNAS shares.