How to share a remote SMB folder :
Add the following line to the /etc/fstab:
#Added by OGF to share the home folder from synology//synology/home /media/home_synology cifs credentials=/home/username/.smbcredentials,rw,iocharset=utf8,uid=local_uid,gid=local_guis 0 0Add the file .smbcredentials with the following parameters:
username=usernamepassword=thepassworddomain=mydomain.netYou need to install the package cifs-utils. Then you have to execute:
# mount -a