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
Answer from BAB1 on askubuntu.comThe 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
Answer from BAB1 on askubuntu.comI installed samba, but the samba.conf file does not exist
Is there a best practices guide for configuring samba? (Getting the 0x8007035 code on windows)
How do i make a Samba server?
Samba is kicking my ass. Does someone have a "perfect" setup file that I could copy to ensure it will work? What does it take to get samba working?
Videos
Enable the map to guest global option, typically setting it to bad password. This will allow SMB authentication to happen in the special "guest" mode without credentials.
Here is a shorter version of smb.conf that can achieve passwordless access:
[global]
workgroup = MyWorkGroup
server string = Hello, use me
security = user
map to guest = Bad User
guest account = <account-owning-folder>
passdb backend = tdbsam
[the_public_share]
path = /mysmbshare
writable = yes
printable = no
public = yes
Reference : How to make Samba share to NOT ASK FOR PASSWORD.