|
cifsd,手机电视盒子都能访问,win10不行,windows不知道有什么区别,/etc/cifsd里的configuration参数都看过了,没啥可改的,大佬能帮忙分析一下吗?我又检查了win10的SMB版本,1.0 2.0都是启用的。
后来发现WIN10的SMB实际上是启用的SMB1.0,可能之前为兼容老版本改过去的。
sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc.exe config mrxsmb20 start= auto
重新让lanman依赖2.0,我是在Powershell里管理员运行的。
然后路由设置里面
[global]
netbios name = |NAME|
server string = |DESCRIPTION|
workgroup = |WORKGROUP|
interfaces = |INTERFACES|
bind interfaces only = yes
ipc timeout = 20
deadtime = 15
map to guest = Bad User
server signing = auto
最后增加了一句server signing = auto,然后重启了路由和电脑,就可以了。再次核实了一下,server signing这句是不需要的,本人对SMB协议这些没研究,也是瞎捣鼓。
关键是/etc/cifs/configuration.txt中的一句话:
- server min protocol (default: SMB2_10)
This setting controls the minimum protocol version that the
server will allow the client to use.
默认的最小协议是SMB2_10,所以windows如果用的是SMB1就通信不上了。至于server min protocol这个参数是否可以改成低版本的,这个就没有在研究,欢迎大家有经验的反馈一下。
|
|