[Samba] Access to a share resource without password
Marcello Romani
mromani at ottotecnica.com
Mon Feb 28 09:32:04 MST 2011
Il 25/02/2011 16:22, J. L. Cabral ha scritto:
> Dear, I have a Linux Samba server and a Windows XP SP2 client joined
> to the "g-company.net" domain.
>
> I want to access a Linux share resource in /var/share without password
> from WXP desktop FROM ANY USER.
>
> This is my scenario:
>
> - I don't create any Linux local user because I want total access from any user
>
> - I use security = share
>
> - My smbusers file is:
>
> root = administrator admin
> nobody = guest pcguest smbguest
>
> - The Windows XP guest account is "guest" but I don't know if it has
> any password setup.
>
> - This is my smb.conf:
>
> [global]
> workgroup = G-COMPANY.NET
> server string = Samba Server Version %v
> security = SHARE
> passdb backend = tdbsam
>
> [share]
> comment = Archivos Compartidos
> path = /var/share
> read only = No
> create mask = 0700
> directory mask = 0700
> guest only = Yes
> guest ok = Yes
>
> Form Windows XP I execute:
>
> \\samba_server\share
>
> but I get the error "DENIED ACCESS".
>
> What can I do to access this resource ???
>
> Thanks a lot,
>
> JeLo
Hi,
I have a similar setup.
I forced /var/share to be owned by group "publicshare", and in smb.conf
I have force group = publicshare. The permission bits are 775.
HTH
--
Marcello Romani
More information about the samba
mailing list