View previous topic :: View next topic |
Author |
Message |
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Thu Jan 24, 2008 9:47 pm Post subject: [SOLVED] samba config problem |
|
|
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 |
|
|
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Thu Jan 24, 2008 10:30 pm Post subject: |
|
|
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 |
|
|
chris.c.hogan Apprentice
Joined: 02 Oct 2005 Posts: 189
|
Posted: Fri Jan 25, 2008 7:26 pm Post subject: Re: samba config problem |
|
|
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 |
|
|
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Fri Jan 25, 2008 8:01 pm Post subject: |
|
|
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 |
|
|
|