Synology SMB setting

Synology SMB setting

 

SSH connection:

for example admin@server

sudo -i

vi /etc/samba/smb.conf

Under global section:

server signing=mandatory
client signing=mandatory

min protocol=SMB2
max protocol=SMB3

The SMB connection with macOS can be checked with the following commands in a terminal session.

Does the SMB-server offers any shares;

smbutil lookup <servername>

Is there a SMB connection (smbfs);

mount

Which version SMB is used (SMB_version);

smbutil statshares -a

The SMB connection with Windows 10 can be checked with the following command in a terminal session.

net use

check which version SMB is used (SMB_version);

PowerShell:

Get-SmbConnection

Get-SmbConnection | Select-Object -Property *