Samba
Samba, which uses the CIFS/SMB protocol, is commonly brought up when you want Linux and Windows machines to be able to share files together. Aside from the file sharing uses, Samba also has some built-in functionality to run as a member server on a Windows domain, print server, or file server. Let’s get started with the setup.
Step 1. Install the required packages for Samba:
# yum install –y samba samba-common samba-client
Step 2. Verify the package installation:
# rpm -qa | grep samba
samba-client-3.5.4-68.el6.x86_64
samba-3.5.4-68.el6.x86_64
samba-winbind-clients-3.5.4-68.el6.x86_64
samba-common-3.5.4-68.el6.x86_64
Step 3. Enable the service to start during boot:
# chkconfig smb on
Step 4. Verify that the service is set to start on boot:
# chkconfig smb --list
smb 0:off 1:off 2:on 3:on 4:on 5:on 6:off