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