I'm able to access the shares from Windows and Mac computers, and even from non-Linux virtual machines that are on my Linux workstation. However, when I try to access the shares via Linux, I get errors.
From the Ubuntu Unity GUI:
Code:
Oops! Something went wrong. Unhandled error message: Failed to retrieve share list from server: Connection timed out.
(This message comes up instantly, so I don't think it's actually a timeout.)
From the terminal:
Code:
$ smbclient -L diskstation.local -U username
WARNING: The "syslog" option is deprecated
Enter username's password:
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
I've tried this from multiple Linux workstations, with the same results. (Note: actual username has been redacted.)
Fortunately, the Synology device is running Linux, and I'm able to SSH into it. Here's its auto-generated smb.conf, as reported by testparm:
Code:
# Global parameters
[global]
realm = *
printcap name = cups
server min protocol = SMB2_10
passdb backend = smbpasswd
security = USER
winbind enum groups = Yes
winbind enum users = Yes
idmap config * : backend = syno
include = /var/tmp/nginx/smb.netbios.aliases.conf
[Operations]
comment = "Shared resources for Operations Department"
path = /volume1/Operations
guest ok = Yes
invalid users = nobody,nobody
read list = nobody,nobody
read only = No
valid users = nobody,nobody
write list = nobody,nobody
edit synoacl = Yes
enable recycle bin = Yes
mediaindex = No
recycle bin admin only = Yes
service exist = Yes
skip smb perm = Yes
syno fstype = 2
win share = Yes
Here is the smb.conf on my Linux workstation (which doubles as a file server):
Code:
# Global parameters
[global]
server string = %h server (Samba, Ubuntu)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
usershare allow guests = Yes
client use spnego = No
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
unix password sync = Yes
dns proxy = No
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
browseable = No
printable = Yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[operations]
comment = Temporary storage on workstation
path = /srv/samba/operations
create mask = 0660
directory mask = 0770
read only = No
valid users = operations
Any idea why I can't get into the Synology share from Linux, but it's working from other OSes?
Thanks.