[global] map to guest = Bad User log file = /var/log/samba/%m log level = 1 %for %%share in %%smb_share_path [%%share.smb_share_name] # This share allows anonymous (guest) access # without authentication! path = %%share read only = no guest ok = yes guest only = yes %end for