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 0
Add the file .smbcredentials with the following parameters:
username=username
password=thepassword
domain=mydomain.net
You need to install the package cifs-utils. Then you have to execute:
# mount -a