what is samba, what is configuration file, how it will
work?
Answer Posted / surendra singh adhikari
basically SAMBA is use to share the files between linux to
windows.
firstly installed the require rpm for samba,
like this :-- yum install samba -y
yum install samba-swat -y
then open samba file under /etc dir,
vi /etc/samba/smb.conf
and enter your share path,valid user.
Ex. comment = windows sharing
path = path/your/share/directory
valid users = surendra
writable = yes
browseable = yes
then type testparm for code testing.
then give the password to smb users :-
smbpasswd -a surendra
and finally restart the service of samba:-
/etc/init.d/smb start
chkconfig smb on ( for permanent on)
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers