To share files between Linux and Windows, install Samba server on Linux. Red Hat Enterprise Linux as 4.0 has built-in Samba server.
Enable the samba service automatically:
Check the SMB check box in system Settings> Server Settings> service. Remember to save the check box.
Configure the Samba server:
1. Go to system Settings> Server Settings> Samba to open the Samba server configuration page.
2. On the Samba server configuration page, select preferences> server settings and enter the workgroup name and description.
3. On the Samba server configuration page, select preference> Samba user to create a samba user.
When creating a samba user, you must select a Linux User. Therefore, before creating a samba user,
You need to create a linxu user in system Settings> users and groups.
4. On the Samba server configuration page, click "add" to create a Samba share:
Set the shared directory, shared name, read/write permission, and specified access user.
5. Go to system Settings> security level to enable security level configuration and check related "trusted devices.
Otherwise, Windows users cannot access Linux resources.
Disable the Linux Firewall:
Chkconfig iptables off
Service iptables stop
Address: http://www.cnblogs.com/anjou/archive/2007/02/16/651619.html