Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: SMB connection to Synology
#1
Hi all, has anyone had difficulty connect to SMB shares hosted on a Synology NAS?
I had a minimum required version set to SMB2, and was getting a 'permission denied' error on the Moode player, and the following on the Synology:
X.X.X.X failed to connect via [SMB] due to [SMB1 not permitted]

I have since removed the restriction, and allowed SMB1, but the permission denied error persists, and now nothing appears in the Syno logs.
Notes:
- Using the SCAN function does not discover the Syno server's SMB shares, but it does discover an older Syno server's shares. They are configured pretty much the same now.
- Have tried adding SMBSERVER/share, also server.local/share, and x.x.x.x/share, all similar result.

Question - does Moode use Samba v1? if not, any insights or alternate approaches?
Reply
#2
The samba package in moode is latest included in Bookworm and IIRC does not support SMB V1.

Code:
pi@moode9:~ $ smbd --version
Version 4.17.12-Debian

You could try the commands below to see what might be going on.
Code:
# Scan
pi@moode9:~ $ moodeutl -c
Scanning for SMB hosts...
trx.home                192.168.1.000           SMB version: 3.1.1

# List shares
pi@moode9:~ $ moodeutl -C 192.168.1.000
Scanning SMB host...
Playlists
SDCard
Music
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Thanks, this helps! It finds the non-working server:
Code:
moodeutl -c
sambaserver.local        192.168.100.40         SMB version: 3.1.1

Then the working SMB server shows shares:
Code:
moodeutl -C 192.168.100.50
Scanning SMB host...
home
music
movies
And the non-working SMB server does not:
Code:
moodeutl -C 192.168.100.40
Scanning SMB host...
No SMB shares found
The shares seem identical in config, beyond very different versions of the OS, and perform the same from other machines, but this is issue. I'll post a solution if and when I find it.
Reply
#4
I don't use Synology but I do keep an old version of Synology DSM 3.6.1 on a virtual host (don't ask) for testing purposes. Its SMB service is set to min SMB2 and max SMB3 protocol versions. (I built this in the early days of moOde support of SMB because so many Synology users seemed to be having trouble getting connected. Mostly it gathers virtual dust now.)

Just fired it up again. My moOde 9.3.3 players have no trouble discovering and mounting its shares with no special moOde configuration settings. All devices communicate to my access point via WiFi.

It will be interesting to hear what you find.


Regards,
Kent
Reply
#5
Thanks for checking. I did get it working - I used a different account with the same permissions, must have been some deep setting on the account that was causing it to get denied. The only difference I can see is 2FA was enabled for the failing account, but that should only be for admin access.

Loving Moode so far. Coming off of 2 years with Volumio, which was death by 1000 paper cuts. Moode has the depth of features and simplicity I have been looking for - thanks to the devs!
Reply


Forum Jump: