I want to setup samba and have a folder share that is not protected by passwords, but open for anyone, read-only. what do i need to write on smb.conf?
Put this at the bottom of your smb.conf, replacing the path/to/share/point with the location of your shared directory.
If it doesn't exist, do
On the desktop this is as simple as switching on the folder sharing with anonymous access, right click on the folder and click "Sharing Options" it may ask you to install the sharing services, install them:
Once done (and restarted session) then just share the folder with guest access:
On the Ubuntu Server (without graphical desktop) you can follow this guide:
Warning! When you enable guest access it does mean the anyone will be able to see your files. This is especially problematic on laptops with wifi networks where you just visit an internet cafe and give your files to your fellow coffee drinkers.