[Samba] Access to a share resource without password

J. L. Cabral jelocabral at gmail.com
Fri Feb 25 09:05:35 MST 2011


I have /var/share with rwx-rwx-rwx, and I put create and directory
masks with 777 values.

But I still get ACCESS DENIED error.

Do I have to create a local Linux user account ??? Or waht ??? Because
I need to give full access to every user from my LAN.

Thanks in advance.

JeLo

On Fri, Feb 25, 2011 at 12:39 PM,  <mat.enders at gmail.com> wrote:
> I believe your permissions are not correct. If I understand correctly you want to run a wide open share that allows everyone full control. If this is correct then first:
>
> chmod -R 777 /your/share
>
> Change your create masks to:
>
> create mask = 0777
> directory mask = 0777
> Sent on the Sprint® Now Network from my BlackBerry®
>
> -----Original Message-----
> From: "J. L. Cabral" <jelocabral at gmail.com>
> Sender: samba-bounces at lists.samba.org
> Date: Fri, 25 Feb 2011 12:22:12
> To: samba<samba at lists.samba.org>
> Subject: [Samba] Access to a share resource without password
>
> 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
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list