Search

Ads

Wednesday, November 11, 2009

Share file/folder between Linux And Windows with Samba server

Share file/folder between Linux & Windows with Samba server
Today i am dicussing with you guys a trick through which you can share files and folders between Linux and windows. For this purpose you have to enable SAMBA server configuration to allow sharing between windows and Linux. You can share file.folder in a workgroup as RHEL5WORKGROUP or browseable also yes, and now share from folder/ common/ folder. Firstly install the samba server then on the service type chkcongig smb on and then append the following 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 semicolons the disabled lines gets enabled.

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


Thanks and Best Regards

No comments:

Post a Comment