当前位置:   article > 正文

samba guest ok

samba guest ok

samba允许匿名用户访问

[global]
        security = user
        passdb backend = tdbsam
        map to guest = bad user
        guest account = nobody ;nobody需为系统已存在用户

[public]
        comment = public
        path = /opt/public
        browseable = yes
        read only = yes
        guest ok = yes
        valid users = t_user,nobody ;只允许当前这二个用户访问,也可不限制用户
        write list = t_user ;只允许该用户修改
        allow hosts = 192.168.1.0/24    

 

posted on 2017-03-14 10:43  西风古道 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/g120992880/p/6547271.html

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/182514
推荐阅读
相关标签
  

闽ICP备14008679号