$sudo vi /etc/samba/smb.confand set interfaces to lo and your local network interface. In my case: eth1.
interfaces = lo eth1 bind interfaces only = trueNow, it is time to smoothen samba default security by changing the security variable: security and make sure it is set to share instead of user and that guest account is enabled:
security = share ... ... guest account = nobodyNow, we can create a share to be accessible to guest users:
[Guest Share] comment = Guest access share path = /path/to/dir/to/share browseable = yes read only = yes guest ok = yesYou can now test that your configuration is good using testparm:
$ testparmIf everything is fine, it is time to reload samba service to have your new configuration taken into account:
$sudo /etc/init.d/samba reload