Configure samba as a ROLE_STANDALONE on CentOS 5.2
Posted by Martin Perron on Jan 26, 2009 in HowTo - Linux • No commentsThis config is for home use and have no security enable on standalone mode.
Install the rpm:
yum install samba
Go to the samba config folder:
cd /etc/samba/
Always good to backup the original config file:
mv smb.conf smb.con.ori
Create a new smb.conf file
vi smb.conf
Edit with the following
[global]
workgroup = workgroup
netbios name = Intranet
server string = Linux
security = share
local master = no
preferred master = no
domain master = no
os level = 0
log level = 0
syslog = 0[doc]
path = /doc
read only = no
browseable = yes
public = yes
Then test your config file:
testparm
The start the service:
/etc/init.d/smb restart
Put smb service on boot
chkconfig –levels 235 smb on
You’re done!
