Ema*_*mad 5 server mount samba networking
几个月前,我能够使用 smb:// 和服务器 IP 地址,使用桌面面板上的“连接到服务器”选项,通过我的 Ubuntu 16.04 连接到我所在研究所的 Windows 共享服务器驱动程序。
现在,当我尝试再次连接时,它给我以下错误消息:
Unhandled error message: Failed to mount Windows share: Connection timed out
Run Code Online (Sandbox Code Playgroud)
可能发生/更改什么会导致此错误?
这和更新软件有关系吗?桑巴已经是最新版本了!
小智 7
这里的建议有效,即添加到文件[Global]
的部分smb.conf
client min protocol = SMB2
client max protocol = SMB2
Run Code Online (Sandbox Code Playgroud)
我网络上的大多数计算机都运行 Ubuntu 16.04,问题是收到错误消息。
Unable to access location. Failed to mount Windows share: Connection Timed Out.
Run Code Online (Sandbox Code Playgroud)
当连接到运行 Ubuntu 20.04 的较新计算机时。新机器可以看到网络并连接到其上的任何机器,但反之则不然,即运行 Ubuntu 16.04 的旧机器无法访问 Ubuntu 20.04 机器并响应
Unable to access location. Failed to mount Windows share: Connection Timed Out.
Run Code Online (Sandbox Code Playgroud)
小智 4
编辑以下条目并将其添加到 /etc/samba/smb.conf 的 [global] 下,它应该看起来像
[global]
client min protocol = SMB3
client max protocol = SMB3
Run Code Online (Sandbox Code Playgroud)
wis*_*cky -1
对我来说,我曾经能够在 Ubuntu 16.04 上使用 Nautilus 连接到企业 Windows 共享驱动器,但在切换到 Ubuntu 18.04 后就不再能连接到企业 Windows 共享驱动器。Nautilus 应该提示我的用户名和密码来连接到 Window 共享驱动器,但在 Ubuntu 18.04 中,它立即给出了错误,Unable to access location. Failed to mount Windows share: Connection Timed Out.
甚至没有提示输入用户名和密码。我认为原因是因为Ubuntu 18.04默认使用SMB3,这可能与Windows共享不兼容,具体取决于您的情况。
我能够通过在该部分下编辑sudo vi /etc/samba/smb.conf
和添加来修复它。(您也可以添加,但对我来说没有必要。)client max protocol = SMB2
[global]
client min protocol = SMB2
然后它提示输入我的用户名/密码,我就能够连接到 Windows 共享驱动器。
归档时间: |
|
查看次数: |
20676 次 |
最近记录: |