Smbfs / Cifs share on Synology NAS and Ubuntu

If you get some issue with mounting shares with your NAS from your Ubuntu OS, consider this :

With SMBFS : this solution is unsupported, you have to use CIFS. For example, in your fstab :

//192.168.1.250/public /media/NAS cifs iocharset=utf8,user=diskstation_username,password=diskstation_password,rw,uid=ubuntu_username,gid=ubuntu_username 0 0

With CIFS : if you can mount your share directory, but listing returns always an empty list, there is the solution.

I found another workaround in a ds101 mailing list : you can disable “unix extensions” in the ds106’s samba server. To achieve this, you need to add the folowing line in the [global] section of /usr/syno/etc/smb.conf :

Code:
unix extensions=no

Then, restart samba :
DiskStation> /usr/syno/etc/rc.d/S80samba.sh restart

source : http://www.synology.com/enu/forum/viewtopic.php?=&p=6244

Leave a Reply

Your email address will not be published. Required fields are marked *