yum -y install samba
mkdir /home/share
chmod 777 /home/share
cp -p /etc/samba/smb.conf{,.bak}
service smb start
service nmb start
chkconfig smb on
chkconfig nmb on
vi /etc/samba/smb.conf
---
[global]
unix charset = UTF-8
dos charset = CP932
printing = bsd
...
security = user
map to guest = Bad User
...
[Share]
path = /home/share
writable = yes
guest ok = yes
create mode = 0777
directory mode = 0777
share modes = yes
---
service smb restart
Firewallで下記のポートを空ける * 139 tcp * 445 tcp


