Save a backup of the default Samba Config.
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.orig
Now edit the Samba Config file, /etc/samba/smb.conf, and populate as:
[global] workgroup=WORKGROUP server min protocol = SMB2 server max protocol = SMB3 server string = NAS log file = /var/log/samba/%m.log [data] path = /mnt/nas/data available = yes valid users = peter read only = no browseable = yes writable = yes
sudo smbpasswd -a peter
returns:
Added user peter.
NOTE: Make sure that the user has permissions to the files on system level as well.
Within a Web Browser, enter
//192.168.1.5/data
NOTE: