[global] workgroup = WORKGROUP server string = Samba Server %v netbios name = centos security = user map to guest = bad user dns proxy = no [Anonymous] path = /samba/anonymous browsable =yes writable = yes guest ok = yes read only = no 以上是/etc/samba/