The main difference between a Windows machine serving "shares" and Linux machine serving "shares" is Linux "shares" have better performance than Windows.
rpm -ivh samba-common-2*rpm rpm -ivh samba-2*rpm rpm -ivh samba-client*rpm
You can configure samba through a GUI interface by clicking: Start-->System Settings-->Server Settings-->Samba Server as described in more detail here.
Alternatively, you can configure Samba from a terminal window: The main configuration file for Samba is /etc/samba/smb.conf. Here is a sample:
# /etc/samba.smb.conf
# Global parameters
[global]
netbios name = SUMMER_SERVER
server string = Samba Server
workgroup = WORKGROUP
security = SHARE
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printing = lprng
encrypt passwords = yes
[pub]
path = /export/public
read only = No
guest ok = Yes
Then start Samba:
/etc/init.d/smb start
smbclient -L summer
Many times the problem is the passwords aren't set up right. This describes the situation: Using Samba, Chapter 3. Configuring Windows Clients
A password file Samba can use is: /etc/samba/smbpasswd
Linux Quick Reference Home
Linux Migration Home