1.Check the necessary rpm
#rpm -q samba
2.set the samba work group name according to windows work group or domain name.
Press CTRL + W
Search >>>> “ mygroup”
delete the mygroup and type your windows work group or domain name
3.Start the samba service
#service smb start
#chkconfig smb on
you will be able to see the samba servers through my network places in
windows, but you wont be able to access them unless you create samba
user accounts in linux.
5.You must have a Linux user account first
6.you can convert them in to samba
#smbpasswd -a uddika
you can use user current password or another one.
7.Once you add a user to samba his home folder will be automatically shared. How to share a different folder through samba.
8.Create a folder to share
9.sharing above folder through samba
Go to a end of file, to a new line
path = /test
public = yes
writable = yes
10.Save and exit the file
CTRl + O
CTRL + X
11.Reload the samba service
#service smb reload
we give a writable samba permissions, normal samba users wont be able
to witting to the folder though windows, unless we change the ext3 file
folder permissions properly.
13.See current permissions
#ls -ld test
14.Change current permissions
#chmod 757 test
now normal users can access share folder