树莓派论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2208|回复: 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就是不通,有人知道是哪里出问题了吗?
回复

使用道具 举报

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

本版积分规则

小黑屋|手机版|Archiver|树莓派论坛 ( 粤ICP备15075382号-1  

GMT+8, 2024-11-25 15:19 , Processed in 1.203125 second(s), 24 queries , Gzip On.

Powered by Shumeipai.net! X3.2

© 2001-2015 树莓派论坛安全联盟

快速回复 返回顶部 返回列表