Sharing Linux Files to Windows
First, is Samba running on RH?
1) /etc/init.d/smb restart
On the XP side:
1) Turn off Simple File Sharing: Start->Settings->Control Panels->Folder Options->View Tab->Use Simple File Sharing->Off
2) Turn off XP firewall: Start->Settings->Control Panels->Windows Firewall->Off
3) Test from XP.
(If that does it, turn the XP firewall back on. Never too much security!)
If that doesn't work, on the Red Hat side:
1) Turn iptables off: /etc/init.d/iptables stop
2) Test from XP.
If that works,
1) Turn iptables on: /etc/init.d/iptables start
2) Edit RH's firewall config: System->Administration->Security Level and Firewall (or run system-config-securitylevel from a shell) and check the Samba box in the Firewall Options tab; check OK; restart iptables (for good measure) with /etc/init.d/iptables restart
Sample smb.conf:
[global] workgroup = WORKGROUP server string = Description log file = /var/log/samba/samba.log max log size = 50 security = share username map = /etc/samba/smbusers socket options = TCP_NODELAY SO_RCVBUF=32768 SO_SNDBUF=32768 os level = 65 dns proxy = no default case = lower preserve case = yes short preserve case = yes case sensitive = no [data] comment = Corina Lab Data path = /usr/local/data public = yes writable = yes browseable = no valid users = nobody
