On 4/7/06, Allan Spagnol Comar <[EMAIL PROTECTED]> wrote:
> Hi all in the list,
>
> I was wondering if some one can help me with that, I am try to put to
> work a simple file share with samba where I will share a folder to any
> one, and one folder have to autenticate users at pam
>
> I try it like that:
> [global]
>
>        workgroup = COMMODITY
>        netbios name = thewho
>        log file = /var/log/samba3/log.%m
>        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>
> [mp3]
>        comment = Shared Musics
>        path = /home/mp3
>        security = share
>        writeable = no
>        browseable = yes
>        guest ok = yes
>        printable = no
>        guest only = yes
>
> [sandbox]
>        comment = Sand Box to genrate releases
>        path = /home/sandbox
>        security = user
>        user = allan longhin
>        writeable = yes
>        public = no
>        printable = no
>        create mask = 0765
>
> what did I do wrong ? or how can I make this ?
>

You may just be overthinking this. Here is a snip of my config file
(only relevant portions). You may want to add the user guest to your
smbpasswd file you can even use no password, then have your guest
users authenticate with that. Maybe there is a better way but that
works for me.

[global]
        workgroup = akron
        netbios name = snoopy
        server string = Gentoo File Server
        ...
        map to guest = nobody
        security = user
        ...

...

[public]
        comment = Public folder for all users.
        path = /home/pub
        public = yes
        only guest = yes
        writable = yes
        printable = no

[webroot]
        comment = Storage for public web files.
        path=/home/www
        public = no
        writable = yes
        valid users = cruteme

--
________________________________
Michael E. Crute
http://mike.crute.org

It is a mistake to think you can solve any major problems just with potatoes.
--Douglas Adams

-- 
gentoo-user@gentoo.org mailing list

Reply via email to