如何禁用samba身份验证

2019-11 from–https://askubuntu.com/questions/1189945/how-to-disable-samba-authentification

我需要创建一个没有密码身份验证的Samba共享。服务正在运行,文件夹可用,但只有密码。这是配置

[global]
workgroup = workgroup
security = user

[share]
comment = share_test
path = /samba-share/share
writable = yes
guest ok = yes
read only = no
public = yes

[guest]
comment = test_guest
path = /samba-share/guest
force user = nobody
force group = nogroup
guest ok = yes
writable = yes
guest account = nobody


如果这是您的整个smb.conf,则在[global]部分中缺少允许访客访问的行:

map to guest = Bad User
上一篇
下一篇