Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Quick (hopefully) samba question
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
SenorLoco
n00b
n00b


Joined: 22 Jun 2003
Posts: 27

PostPosted: Thu Jul 31, 2003 4:10 pm    Post subject: Quick (hopefully) samba question Reply with quote

Alright...so I have some files on my gentoo box that I'd like to share with my windows xp box...nothing new and special there...except I can't get it working :) Im able to see windows shares on the gentoo box no problem but the other way around is causing some problem..

here is my smb.conf
Code:

[global]
    workgroup = WORKGROUP
    netbios name = DESKTOP
    server string = Samba Server %v
    log file = /var/log/samba/log.%m
    max log size = 50
    security = share
    encrypt passwords = yes
    wins support = no
    dns proxy = no

[movies]
    comment = This isn't working yet... soon though I hope
    path = /home/adam/movies
    public = yes
    only guest = yes
    writeable = no
    browseable = yes


if anyone has any ideas that would be GREAT!!

Thanks,
SenorLoco
Back to top
View user's profile Send private message
rwallace
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2003
Posts: 107
Location: Phoenix, AZ US

PostPosted: Thu Jul 31, 2003 4:18 pm    Post subject: Reply with quote

Can you see the Linux box in Network neighborhood? If not make sure the winxp machine is in the "WORKGROUP" workgroup.

If you can see the machine but can't access the share itself, it's probably a permissions problem since you have the directory to be shared in your home directory. Check the permissions on the directory itself to make sure it's world readable.

What version of samba is it?
Back to top
View user's profile Send private message
Celtis
l33t
l33t


Joined: 05 Jul 2003
Posts: 737

PostPosted: Thu Jul 31, 2003 4:28 pm    Post subject: Reply with quote

I'm assuming that you've '/etc/init.d/samba start' 'ed?
Back to top
View user's profile Send private message
Odius
n00b
n00b


Joined: 28 Jul 2003
Posts: 74
Location: USA

PostPosted: Thu Jul 31, 2003 4:30 pm    Post subject: Reply with quote

SenorLoco wrote:
Alright...so I have some files on my gentoo box that I'd like to share with my windows xp box...nothing new and special there...except I can't get it working Im able to see windows shares on the gentoo box no problem but the other way around is causing some problem..


You also have the share guest only, but I don't see anything about a guest in your global section of the smb.conf file. If you are trying to access the share as guest you will need to define a guest account otherwise your Windows box will not see the share.
Back to top
View user's profile Send private message
SenorLoco
n00b
n00b


Joined: 22 Jun 2003
Posts: 27

PostPosted: Thu Jul 31, 2003 4:44 pm    Post subject: Reply with quote

Alright...well I still can't see the Linux box in Network neighborhood....I added guest ok = yes to the global section and that didn't work....I also tried switching only guest to no but as you may have guessed that didn't work either...any other suggestions?

Thanks,
SenorLoco
Back to top
View user's profile Send private message
Odius
n00b
n00b


Joined: 28 Jul 2003
Posts: 74
Location: USA

PostPosted: Thu Jul 31, 2003 4:59 pm    Post subject: Reply with quote

You need to add the guest account option to tell samba what account to use as the guest account.

Code:
guest account = guest


And then create this user as both a valid linux and samba user.

Guest OK should only be used in specific shares otherwise I believe guest will be allowed to access all shares.
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