编辑smb.conf
1.在[global]中
找到
security =
将其改为
security = share
2. 在文件中加入自定义的共享目录
[attachment] path=/data/attachment public = yes only guest = no
3.重启samba
service smb restart
时间: 2024-11-09 02:53:13
编辑smb.conf
1.在[global]中
找到
security =
将其改为
security = share
2. 在文件中加入自定义的共享目录
[attachment] path=/data/attachment public = yes only guest = no
3.重启samba
service smb restart