Samba basic configuration in RHEL

The key to configuring Samba is its lone configuration file: smb.conf. A basic samba configuration for the smb.conf file is given below.

workgroup = SIMPLE
comment = Common Share
path = /SHARE
read only = no
guest ok = yes

Prior to adding the confifuration to the smb.conf file, take a backup of the current smb.conf file.

and then add the directory to be shared.

******Keeping a local backup of smb.conf file***********

#cp /etc/samba/smb.conf /etc/samba/smb.conf.backup

******Create a share folder******

#mkdir /SHARE
******Give necessary permission********

#chmod 777 /SHARE

*******Add user for Share access*******

#smbpasswd -a root

give password, restart smb service enjoy sharing. 🙂





Leave a Reply

Your email address will not be published. Required fields are marked *