if you are interested to contribute your LAB PROGRAM Please send mail to jkumaron@gmail.com

Samba Server Configuration from Linux to Windows Allow Workgroup

Using samba we can share file between Linux and windows we can mention workgroup as same as in windows and Linux. Now we share file or folder in the workgroup as RHEL5WORKGROUP and our browseable as yes. Now we share folder /common/folder. First install samba service then on the service chkconfig smb on. Then edit the configuration file
root@rhel5 ~]# vim /etc/samba/smb.conf
Go to line 74: change workgroup as RHEL5WORKGROUP
workgroup = RHEL5WORKGROUP
server string = Samba Server Version %v

Edit the last seven lines in /etc/smb.conf
Before edit configuration file in last seven lines
; [public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = +staff
Remove the semicolon by through removing these disable lines are enable.

After edit [change public as common and path is equal to /common/folder and browseable as yes]
path = /common/folder
public = no
writable = no
printable = no
browseable = yes

Related post