Click to See Complete Forum and Search --> : need help sharing samba


Archibald
07-19-2004, 05:17 AM
I'm trying to configure samba to share folders with my win xp box, but I'm getting nowhere.
I've followed the smb-hwoto from linux.org and this is now how my smb.conf file looks like:

# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/07/19 11:06:10

# Global parameters
[global]
workgroup = HEMMA
null passwords = Yes
log file = /var/log/samba-log.%m
lock directory = /var/lock/samba

[homes]
comment = Home Directories
read only = No
create mask = 0750
browseable = No

[tmp]
comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes

[public]
comment = Public Stuff
path = /home/public
write list = @staff
read only = No
guest ok = Yes

[hadoque]
path = /home/hadoque
valid users = hadoque


My network name in xp is "hemma", and I've exported all linux users to samba, and user hadoque is the one I use in win xp with the same pass in all the systems. The shares are visible from the xp box, but not accesible, I get an error message saying that the share is not accessible.
Anyone have a clue on what to do to get the shares working?

DMR
07-19-2004, 03:55 PM
Have a look at some of the options in the following article. Some combination of the "valid users=", "hosts allow=", and "Security=" directives might get you up and running:

http://freebooks.by.ru/view/RedHatLinux6Unleashed/rhl6u132.htm


Don't forget to restart the Samba services after altering smb.conf:

service smb restart