Samba file sharing no password

From Salix OS
Jump to: navigation, search

Sometimes one needs a simple Windows-Linux file sharing server with no logins and passwords. A simple configuration file /etc/samba/smb.conf might look like this:

[global]
 workgroup = MY_GROUP
 server string = MY_SERVER
 security = user
 map to guest = Bad User  

[your_share]
 path = /home/your_share
 guest ok = yes
 read only = no
 public = yes