在Fedora 18 Desktop 上測試成功, 步驟如下:
yum install samba*
useradd smbusr
passwd smbusr
smbpasswd -a smbusr
vi /etc/smb.conf
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
load printers = No
idmap config * : backend = tdb
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
print ok = Yes
browseable = No
[public]
comment = Public Stuff
path = /plans
write list = +smbusr
read only = No
guest ok = Yes
-- disable SE
sestatus
setenforce 0 #permissive
service smb restart
enjoy!