Samba – Connect to Samba share with no username/password

passwordsambauser-accounts

I have just set up Samba on a CentOS 5 machine. It works OK, but I would like to configure it so that users can connect to Samba shares without the need to provide a user name and password. I have googled for a smb.conf reference but documentation seems to be quite scattered and not comprehensive. Can somebody explain how to achieve this? Many thanks.

Best Answer

I'm using

[global]

security = share

in smb.conf.

This seems to be enough for passwordless access. The computers belong to the same workgroup, but I don't know if this is a mandatory requirement.