A continuacion una pequeña guía para instalar samba server.
yum install samba
Configurar /etc/samba/smb.conf
workgroup = WORKGROUP
server string = Samba Server Version %v
netbios name = MYSERVER
hosts allow = 127., 192.168.0
# Directorio a compartir
[carpeta]
comment = FTP Linux
path = /data/carpeta
writable = yes
directory mask = 0755
create mask = 0644
Cliente y servidores en la red /etc/samba/lmhosts
127.0.0.1 localhost
192.168.0.10 server
Crear usuario y password samba
useradd -c "Usuario para Windows" -s /sbin/nologin usuario
smbpasswd -a usuario
Agregar servicio al inicio e iniciar
chkconfig smb on
service smb start
Probar configuración
testparm
Probar servidor localmente o desde un cliente
smbclient –L server