You are not logged in.

#1 2007-12-29 15:28:30

jackuess
Member
Registered: 2007-12-29
Posts: 6

Anonymous Samba

I'm trying to set up Samba for sharing some media files with my xbox (xbmc), and to some extent the Windows boxes in the house. I want to enable a guest account so that no password is required for browsing and reading the files. My smb.conf is as follows:

[global]
   workgroup = DE_LAVAL
   netbios name = chucky-desktop
   server string = Chucky desktop Sercer
   log file = /var/log/samba/log.%m
   max log size = 50
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = no
   dns proxy = no
   security = share
   guest account = nobody
   map to guest = bad user

[media]
   path = /home/chucky/media
   browsable = yes
   read only = yes
   guest ok = yes

[test]
   path=/home/chucky/bilder
   browsable = yes
   read only  = yes
   guest ok = yes

Whenever I try to access the shares I get "permission denied". I look in the log file, and it states that permission was denied... I've added the nobody account to samba.
What puzzles me most is that when I try to reach the "test" share from my local machine, logged in as the owner of the given path I also get "permission denied".

What have I overlooked?

Offline

#2 2007-12-30 12:28:28

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Anonymous Samba

Check the filepermissions on the directories you're trying to share.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2007-12-30 14:22:43

jackuess
Member
Registered: 2007-12-29
Posts: 6

Re: Anonymous Samba

I've added the nobody user to the "users" group, which is the group of the second share ([test]). Shouldn't that be enough? I still can't access it.

Offline

#4 2008-01-14 08:55:15

jofa
Member
Registered: 2006-10-27
Posts: 32

Re: Anonymous Samba

I'm having the same problem. Even trying to get access from my Xbox yikes
I've done this type of sharing for years now, but since the last Arch install I can't get it working.
Is it something that's changed in the Samba package?
Have you solved this and in that case how? Thanks.

Offline

#5 2008-02-12 14:22:39

bitpal
Member
From: Berlin, Germany
Registered: 2008-02-03
Posts: 46
Website

Re: Anonymous Samba

I've got it working, at least as far as read-only access from Windows.

My /etc/samba/smb.conf:

[global]
    workgroup = HOME
    server string = Samba Server
    security = SHARE
    passdb backend = tdbsam
    log file = /var/log/samba/%m.log
    max log size = 50
    dns proxy = No
    wins support = Yes
    hosts allow = 192.168.2., 127.

[homes]
    comment = Home Directories
    read only = No
    browseable = No

[share]
    comment = Public Share
    path = /share
    read only = No
    create mask = 0666
    directory mask = 0777
    guest ok = Yes

[printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = No

I did

chmod 0777 /share

to give full access to the share.

So I can see the files from Windows XP, but I don't have write access.

Can anyone give me pointers on getting write permissions from the Windows box?

Offline

#6 2008-02-12 19:21:17

faelar
Member
From: Amiens (FR)
Registered: 2007-12-18
Posts: 232
Website

Re: Anonymous Samba

Maybe :

writable = yes

Offline

Board footer

Powered by FluxBB