There is a file in /etc/samba (or there should be) called smb.conf that you can change so that the Windows machines should be able to access the Linux machine's share.
Here's my smb.conf. It allows the specific windows machines listed in the
Code:
hosts allow = 10.0.0.1 10.0.0.3 10.0.0.4 10.0.0.5 10.0.0.6 10.0.0.7 10.0.0.8 10.0.0.9 10.0.0.10 10.0.0.11 10.0.0.11
line to access itself. Take a peek and change relevant options in yours - it should be more or less obvious:
Code:
[global]
netbios name = development
workgroup = WORKGROUP
security = share
log file = /var/log/samba.log
log level = 1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384
wins support = yes
domain logons = no
logon drive = f:
logon home = \\stefan\%U
os level = 99
preferred master = yes
local master = yes
hosts allow = 10.0.0.1 10.0.0.3 10.0.0.4 10.0.0.5 10.0.0.6 10.0.0.7 10.0.0.8 10.0.0.9 10.0.0.10 10.0.0.11 10.0.0.11
encrypt passwords = yes
browseable = yes
lanman auth = yes
lm announce = yes
[shared]
path = /mnt/win/shared
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes
Of course, you'll also need to change
Code:
path = /mnt/win/shared
to whichever folder you want available on the XP machines, from that Linux machine.
Once this is done, copy the /etc/samba/smb.conf file to /var/local/samba/lib
Then restart samba
Do as root:
Code:
# killall smbd
# killall nmbd
# smbd -D
# nmbd -D
WARNING: This is probably not secure - the above file allows any XP machine on my LAN which has one of the listed IP addresses to connect to it, and to read and write (and delete) files in my /mnt/win/shared folder. No passwords are required, so it might be risky, depending on your environment.
Hope this helps...