Photonicat 网络共享/samba4: Difference between revisions

From Photonicat Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
     guest ok = yes
     guest ok = yes
</pre>
</pre>
然后:
/etc/init.d/samba4 restart

Revision as of 16:45, 25 October 2022

Luci 配置有时候存在一定问题,目前可以通过修改以下配置文件:

mkdir /share
vim /etc/samba/smb.conf

最后添加:

[share]
    comment = Guest access share
    path = /share
    browseable = yes
    read only = no
    guest ok = yes

然后:

/etc/init.d/samba4 restart