# ----------------------- Standalone Server Options ------------------------
security = share
passdb backend = tdbsam
[public]
commnet=Linux share
path= /tmp
public = yes
writeable = yes
printable = no
wrtite list = +staff
browsable=yes
清除/etc/samba/smb.conf 文件的所有内容后写入以上配置,可以匿名登录,但是其中的文件无法打开...
转载于:https://blog.51cto.com/jsship/1405514