1. Install the packages required for Samba

yum install samba

2.Restart the services and enable them at boot

service smb restart

chkconfig smb on

3. Edit the samba configuration file

vi /etc/samba/smb.conf

4. Make the following changes

(in the line containing)

WORKGROUP = EXAMPLE 

hosts allow = 172.24.      127.                      (make sure your ip address/network address is included)

Add or edit the following lines depending on your requirement , am providing a sample here

[common]

path=/common  (path that is exported for samba server)

browseable=yes (readable or not)

valid users= tony   (give user names who can use this service)

5. Now issue the following commands in terminal

smbpasswd -a tony

(Give password)

chcon -R -t samba_share -t /common

service smb restart

testparm

6. To check whether your samba server is up or not

log on to another system and use smbclient //address/common -U tony

HTH