smbclient -L localhost在 Samba 服务器主机上运行返回:
Unable to initialize messaging context
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
Run Code Online (Sandbox Code Playgroud)
想知道我是否在做一些真正愚蠢的事情。谷歌一无所获。寻找我能得到的任何帮助。
相关信息如下。如果我还能提供什么,请告诉我。
服务器正在Ubuntu 19.04 Live Server运行Samba 4.10.0。
systemctl status smbd.service两人systemctl status nmbd.service都回来了Active: active (running),Status: *mbd: ready to serve connections...所以看起来他们运行得很好。
ifconfig使用(ie )的服务器本地 IP 地址192.168.1.xxx而不是localhost不起作用。
添加client max protocol = SMB3到全局配置设置不会执行任何操作。server max protocol = SMB3似乎已经是默认的。除了客户端最大线路之外添加client min protocol = SMB3和server min protocol = SMB3也不起作用。
smbclient …