configure Samba server on
RHEL6 and test
connectivity from linux
and window client system.
Microsoft window use Common
Internet File System (CIFS)
protocol for networking.
CIFS was developed from Server
Message Block (SMB) protocol.
Samba is a open source
software.
Samba uses TCP/IP protocol.
Samba is Linux implementation
of SMB/CIFS protocols.
Samba allows interoperability
between Linux and Window.
Samba provide file and print
sharing service between Linux
and Window system.
Samba allows Linux to interact
with Window client, Server,
member of Active Directory,
Primary domain controller, or
member server.
Samba support Microsoft Access
Control Lists.
Main configuration file of Samba
server is /etc/samba/smb.conf
Samba Web Administration tool
(SWAT) is a GUI base
configuration tool for Samba
Serveravailable from RHEL 6
In Linux SAMBA provides the
following services:
User Authentication and
authorization
File and printer sharing
Name resolution
Browsing
o
RHCE 6 Exam topic
covered in this article
Provide network shares to
specific clients.
Provide network shares suitable
for group collaboration.
During the RHCE 6 exam
you will not have access
to Microsoft window so
you must know how to
test Samba configuration
with Linux system.
In this tutorial I will use
two systems Server and
linuxclient from our LAB
environment. I will
configure Samba Server
on Server system and
samba client on
linuxclient system. If you
want to check the network
topology used in this
article please check
following article. Lab set
up for RHCE 6 practice.
RPM required for
Samba Server
RPM
Description
samba
Base RPM for Samba
Server
sambaclient
Base RPM for Samba
Client
sambacommon
Include commands
those required by
Samba Server and
client
provide Samba
samba-doc
documentation
GUI interface for
samba-swat
Samba configuration
sambawinbind
Allow interoperability
between Linux and
Window
Allow linux user to
sambaconnect with
domainjoinwindows workgroups
gui
and domains.
LAB tasks
Configure Samba on Server
system. Configure iptables
firewall and SELinux Booleans to
allow Samba connection on
server.
Create 5 users on Server system.
Make a group of two users. Add
all users in Samba user
database.
Check connectivity form
linuxclient and windowclient
system. Verify by login from one
user.
Create a sharedata folder on
server. Grant read and write
access to public on sharedata
folder. Share publicly this folder.