[global]
workgroup = WORKGROUP
security = user
encrypt passwords = true
passdb backend = smbpasswd
smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba/log.%m
socket options = TCP_NODELAY
[htdocs]
comment = htdocs
path = /htdocs
available = yes
writeable = yes
browseable = yes复制代码
转载于:https://juejin.im/post/59c4d803518825397176e549