Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kos97866
n00b
n00b


Joined: 20 Sep 2004
Posts: 4
Location: Berkeley, CA

PostPosted: Thu Sep 23, 2004 11:51 am    Post subject: samba not working Reply with quote

please help... i seem to have tried everything. i've followed instructions in a couple of how to's from scratch, tried webmin, no matter what i do doesn't seem to work.

here is my samb.conf file

Code:

[global]
 log file = /var/log/samba/log.%m
 guest account = samba
 browseable = yes
 server string = Samba %v on tycho
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 workgroup = MARATHON
 os level = 20
 interfaces = lo eth1
 encrypt passwords = yes
 security = share
 public = yes
 bind interfaces only = yes
 max log size = 50
 available = no
 allow hosts = 192.168.0.200

[public]
 comment = Public Files
 writeable = yes
 create mode = 0766
 path = /home/samba/public



i have a user with the same name/pass in gentoo and winXP, whose pass i've added to samba with smbpasswd.

how should i be trying to access the shares in winXP? i go to my network places, add new, and then browse the network, but as soon as I click on my workgroup (MARATHON), it loads for a while and then comes up empty.

any ideas?
Back to top
View user's profile Send private message
kopfsalat
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 181
Location: Cologne, Germany

PostPosted: Thu Sep 23, 2004 1:33 pm    Post subject: Reply with quote

I use

Code:
guest account = nobody


but this is on a debian system.

Maybe this works for your public (it has no user restrictions though):

Code:

[public]
comment = public share
#remember to set permssions for all to rw for the directory!
path = /path/to/share/
writeable = yes
browseable = yes
public = yes
create mask = 775


Works flawlessly with XP in my case. A password is not required (strangely enough linux clients require one).
If you want to have different accounts you may consider setting security=user.
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Thu Sep 23, 2004 1:52 pm    Post subject: Reply with quote

you should use
security=user
and you might need
map to guest = bad user
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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