查看: 1054|回复: 0
收起左侧

[求助] centos7 树莓派3B samba设置成功的分享一下

2018-2-13 13:16:19 | 显示全部楼层 |阅读模式
我的是树莓派3B上刷的centos7最小安装版,sam和nmb服务已经启动,smb.conf设置用testpram检测问题,
# See smb.conf.example for a more detailed config fileor
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.

[global]
    workgroup = workgroup
    security = user

    passdb backend = tdbsam

    printing = cups
    printcap name = cups
    load printers = yes
    cups options = raw
    hosts allow = 192.168.1.

[homes]
    comment = Home Directories
    valid users = %S, %D%w%S
    browseable = No
    read only = No
    inherit acls = Yes

[printers]
    comment = All Printers
    path = /var/tmp
    printable = Yes
    create mask = 0600
    browseable = No

[print$]
        comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = root
    create mask = 0664
    directory mask = 0775
[samba]
    comment = samba
    path = /media/samba
    valid users = root shi
    browseable = yes
    public = yes
    writable =yes
防火墙已经关闭。
树莓派的ip为192.168.1.200.

映射\\192.168.1.200\samba就是不通,有人知道是哪里出问题了吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

热点推荐

关注我们,了解更多

官方微信

服务时间:10:00-16:00

13714503811

公司地址:深圳市龙岗区南湾街道东门头路8号

Copyright © 2012-2020 Powered by 树莓派论坛 2019.4  粤ICP备15075382号-1
快速回复 返回列表 返回顶部