问题
2018年9月27日星期四 上午7:15
我在一台有公网ip的centos7服务器上部署了samba服务,版本是samba-4.7.1,并共享了一个目录,使用samba用户名密码登陆。
我在mac和centos中可以用mount -t cifs //xxx.xxx.xxx.xxx/test /test-o username=myname,password=mypassword这条命令可以将samba共享目录挂载成功
但是在我的windows10系统中,我通过“映射网络驱动器”,然后输入samba账户密码无法连接成功。
然后我通过“运行”输入“\xxx.xxx.xxx.xxx\test”也无法连接,并且提示错误“错误代码0x80070035”
请教有什么解决办法。
我自己百度了很多解决办法,都是解决局域网的samba配置问题。
但是我想要实现的是在win10可以挂载我的公网linux上的samba共享目录。
全部回复 (6)
2018年9月27日星期四 上午8:59
尊敬的客户,您好
尝试以下方法看是否能解决问题:
勾选“SMB1.0/CIFS文件共享支持”
如果以上方法没用的话,建议安装SMB3.0 (低版本的SMB1.0不要删除),然后再勾选这个功能,检查是否可以解决我们的问题。
参考文档:
What’s new in SMB 3.1.1 in the Windows Server 2016 Technical Preview 2
https://blogs.technet.microsoft.com/josebda/2015/05/05/whats-new-in-smb-3-1-1-in-the-windows-server-2016-technical-preview-2/
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
2018年9月28日星期五 上午1:13
要如何安装SMB3.0,你给的链接里是介绍的,我没找到安装的方法
2018年9月28日星期五 上午8:49
尊敬的客户,您好
- 打开PowerShell, 以管理员身份运行。
- 分别输入以下命令,输完一个命令按一下回车。
Detect: Get-SmbServerConfiguration | Select EnableSMB2Protocol
Enable: Set-SmbServerConfiguration –EnableSMB2Protocol $true - 勾选“SMB1.0/CIFS文件共享支持”.
参考文档:
How to detect, enable and disable SMBv1, SMBv2, and SMBv3 in Windows and Windows Server
https://support.microsoft.com/zh-cn/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
2018年10月7日星期日 上午8:51
尊敬的客户,您好
首先,祝愿您今天有个好心情。
其次,关于您在帖子中提到的问题有更新吗?或者需要我为您提供什么帮助吗?
最后,感谢您的理解和支持,祝愿您工作愉快!
Best Regards,
Daisy Zhou
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
2018年10月10日星期三 上午8:59
尊敬的客户,您好
我想确定一下您的问题是否解决了呢?如果有什么不清楚的地方,欢迎您随时咨询我们!
感谢您的理解与支持,祝您工作愉快!
Best Regards,
Daisy Zhou
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
2020年2月23日星期日 上午11:00
;;<p><img alt="" src="https://social.technet.microsoft.com/Forums/getfile/1548790" /><img alt="" src="https://social.technet.microsoft.com/Forums/getfile/1548794" /></p><p><img alt="" src="https://social.technet.microsoft.com/Forums/getfile/1548799" /><img alt="" src="https://social.technet.microsoft.com/Forums/getfile/1548801" /></p><p>访问了多次,网上查找了N次,还是没解决?请问下这能解穴不?</p><p></p><p><br /></p>