Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] samba config problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Thu Jan 24, 2008 9:47 pm    Post subject: [SOLVED] samba config problem Reply with quote

I want to acces my Linux box from WinXP laptop.
This is how I've configured samba.
I was using this howto: http://www.gentoo.org/doc/en/quick-samba-howto.xml

genio / # vi /etc/samba/smb.conf:
[global]
workgroup = WORKGROUP
interfaces = lo eth0
bind interfaces only = yes
hosts allow = 127. 192.168.
;hosts deny = 0.0.0.0/0
security = share
guest ok = yes

[public]
comment = Public
browsable = yes
public = yes
create mode = 0766
guest ok = yes
path = /Wine


permissions to /Wine:
drwxr-xr-x   4 root users 4,0K gru 29 19:49 Wine


Testparm goes OK.
genio / # testparm:
Load smb config files from /etc/samba/smb.conf
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        interfaces = lo, eth0
        bind interfaces only = Yes
        security = SHARE
        guest ok = Yes
        hosts allow = 127., 192.168.

[public]
        comment = Public
        path = /Wine
        create mask = 0766


I can see from my Linux box the WinXp laptop from which I want to access Linux share
genio / # smbclient -L localhost:
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (Samba 3.0.28)
        public          Disk      Public
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28]

        Server               Comment
        ---------            -------
        GENIO                Samba 3.0.28
        K_MKULIK             Laptop Marty

        Workgroup            Master
        ---------            -------
        WORKGROUP            GENIO


but whe I try to access \\genio\public from WinXP it says it cannot find it?

What did I do wrong?
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light


Last edited by peka on Fri Jan 25, 2008 8:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Thu Jan 24, 2008 10:30 pm    Post subject: Reply with quote

I don;t know why I is started to work... even if I add writable = yes
... I just can't write to the sahe and thhey say in the howto I should be able
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Back to top
View user's profile Send private message
chris.c.hogan
Apprentice
Apprentice


Joined: 02 Oct 2005
Posts: 189

PostPosted: Fri Jan 25, 2008 7:26 pm    Post subject: Re: samba config problem Reply with quote

peka wrote:


permissions to /Wine:
drwxr-xr-x   4 root users 4,0K gru 29 19:49 Wine



Only root has write access to /Wine. Guest access under Samba is handled by the nobody account.
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Fri Jan 25, 2008 8:01 pm    Post subject: Reply with quote

I must have added writable = yes and chnage create mode to 0777 as well
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum