Samba服务器共享文件夹无网络访问权限

发布于 2021-11-30 10:21:56 字数 122 浏览 759 评论 6

我的虚拟机中是Ubuntu14.04,主机是win7.虚拟机中搭建了Samba服务器,设置了共享目录,可是我在主机端去访问该共享目录的时候报错说没有网络访问权限,selinux是关闭的,防火墙也是关掉的。

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

累赘 2021-12-01 14:25:24

引用来自“sunrise程序员”的评论

这个问题我之前也搞过很久。

配置如下

guest account = nobody

security = user

server role = standalone server

unix password sync = yes

map to guest = Bad Password

 usershare allow guests = yes

[shares]
    path =/opt/shares
    public = yes
    guest ok = yes
    guest only = yes
    browseable = yes
    directory mask = 2777
    create mask = 0644
    read only =no
    writable = yes

冬天旳寂寞 2021-12-01 13:01:56

引用来自“sunrise程序员”的评论

这个问题我之前也搞过很久。

配置如下

guest account = nobody

security = user

server role = standalone server

unix password sync = yes

map to guest = Bad Password

 usershare allow guests = yes

[shares]
    path =/opt/shares
    public = yes
    guest ok = yes
    guest only = yes
    browseable = yes
    directory mask = 2777
    create mask = 0644
    read only =no
    writable = yes

酒几许 2021-12-01 12:51:53

引用来自“sunrise程序员”的评论

这个问题我之前也搞过很久。

配置如下

guest account = nobody

security = user

server role = standalone server

unix password sync = yes

map to guest = Bad Password

 usershare allow guests = yes

[shares]
    path =/opt/shares
    public = yes
    guest ok = yes
    guest only = yes
    browseable = yes
    directory mask = 2777
    create mask = 0644
    read only =no
    writable = yes

爱你是孤单的心事 2021-12-01 09:23:50

引用来自“sunrise程序员”的评论

这个问题我之前也搞过很久。

配置如下

guest account = nobody

security = user

server role = standalone server

unix password sync = yes

map to guest = Bad Password

 usershare allow guests = yes

[shares]
    path =/opt/shares
    public = yes
    guest ok = yes
    guest only = yes
    browseable = yes
    directory mask = 2777
    create mask = 0644
    read only =no
    writable = yes

情场扛把子 2021-12-01 05:28:13

引用来自“sunrise程序员”的评论

这个问题我之前也搞过很久。

配置如下

guest account = nobody

security = user

server role = standalone server

unix password sync = yes

map to guest = Bad Password

 usershare allow guests = yes

[shares]
    path =/opt/shares
    public = yes
    guest ok = yes
    guest only = yes
    browseable = yes
    directory mask = 2777
    create mask = 0644
    read only =no
    writable = yes

断爱 2021-11-30 23:20:21

这个问题我之前也搞过很久。

配置如下

guest account = nobody

security = user

server role = standalone server

unix password sync = yes

map to guest = Bad Password

 usershare allow guests = yes

[shares]
    path =/opt/shares
    public = yes
    guest ok = yes
    guest only = yes
    browseable = yes
    directory mask = 2777
    create mask = 0644
    read only =no
    writable = yes

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文