[global]
workgroup = MYGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
security = user
map to guest = Bad User
load printers = yes
cups options = raw
# 允许软连接
# follow symlinks = yes
# wide links = yes
# unix extensions = no
[share]
comment = share
path = /home/samba
directory mask = 0777
create mask = 0777
browseable = yes
guest ok=yes
writable=yes