Samba configuration file location
Solution 1:
The share definition is located at /var/lib/samba/usershares when you create the share with the Nautilus GUI interface. The main Samba file share server (smbd and nmbd) is configured at /etc/samba/smb.conf. Root created shares are also configured at /etc/samba/smb.conf.
root created shares = /etc/samba/smb.conf
usershares = /var/lib/samba/usershares