View previous topic :: View next topic |
Author |
Message |
SenorLoco n00b
Joined: 22 Jun 2003 Posts: 27
|
Posted: Thu Jul 31, 2003 4:10 pm Post subject: Quick (hopefully) samba question |
|
|
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 |
|
|
rwallace Tux's lil' helper
Joined: 22 May 2003 Posts: 107 Location: Phoenix, AZ US
|
Posted: Thu Jul 31, 2003 4:18 pm Post subject: |
|
|
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 |
|
|
Celtis l33t
Joined: 05 Jul 2003 Posts: 737
|
Posted: Thu Jul 31, 2003 4:28 pm Post subject: |
|
|
I'm assuming that you've '/etc/init.d/samba start' 'ed? |
|
Back to top |
|
|
Odius n00b
Joined: 28 Jul 2003 Posts: 74 Location: USA
|
Posted: Thu Jul 31, 2003 4:30 pm Post subject: |
|
|
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 |
|
|
SenorLoco n00b
Joined: 22 Jun 2003 Posts: 27
|
Posted: Thu Jul 31, 2003 4:44 pm Post subject: |
|
|
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 |
|
|
Odius n00b
Joined: 28 Jul 2003 Posts: 74 Location: USA
|
Posted: Thu Jul 31, 2003 4:59 pm Post subject: |
|
|
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 |
|
|
|