1. Create a folder for share purpose
mkdir sharedrive
2.Give full access to that folder
chmod 777 sharedrive
3.Edit smb conf file
vi /etc/samba/smb.conf
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = WORKGROUP
# server string is the equivalent of the NT Description
server string = Samba Server
map to guest = bad user
encrypt passwords = yes
lanman auth = Yes
[Guest Share]
comment = Guest access share
path = /sharedrive
guest ok = yes
writeable = yes
create mask = 777
4.Test smb.conf file
testparm
5.Restart the service
service smb restart
6.chkconfig smb on
0 comments:
Post a Comment