Chris, I'v efollowed your tutorial, see below the configuration of my
Linux CentOS 5.5 please:

testparm output:

[global]
        workgroup = CASA
        map to guest = Bad User
        passdb backend = tdbsam
        username map = /etc/samba/smbusers
        cups options = raw

(I put security = user but is not displayed in testparm)

[share]
        comment = File server
        path = /var/share
        read only = No
        create mask = 0700
        directory mask = 0700
        guest ok = Yes

In smbusers:

root = administrator admin
nobody = guest pcguest smbguest

The share:

Debian:~# smbclient -U guest -L 10.4.133.109
Enter guest's password: <ANY PASS>
Domain=[BANGKOK] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]

        Sharename       Type      Comment
        ---------       ----      -------
        share          Disk      File share
        IPC$            IPC       IPC Service (Samba 3.0.33-3.29.el5_5.1)
Domain=[BANGKOK] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        CASA                 BANGKOK

And finally try to enter the "share" resource:

Debian:~# smbclient //10.4.133.109/grabar -U guest
Enter guest's password: <ANY PASS>
Domain=[BANGKOK] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*

                56892 blocks of size 8388608. 53742 blocks available

What can be the problem ???

THANKS


drwxrwxrwx  2 nobody nobody 4096 feb 28 16:21 share

nobody is a Linux local user with /sbin/nologin shell.

>From a Linux Debian machine I try to connect:




On Fri, Feb 25, 2011 at 3:13 PM, Chris Smith <[email protected]> wrote:
> On Fri, Feb 25, 2011 at 10:22 AM, J. L. Cabral <[email protected]> wrote:
>> I want to access a Linux share resource in /var/share without password
>> from WXP desktop FROM ANY USER.
>
> See:
> http://blog.realcomputerguy.com/2010/12/samba-and-guest-shares-with-security.html
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to