找回密码
 立即注册
查看: 649|回复: 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就是不通,有人知道是哪里出问题了吗?
回复

使用道具 举报

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

本版积分规则