我的是树莓派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就是不通,有人知道是哪里出问题了吗?
|