<p> 最近将电脑由win7 升级到了win10,但是发现无法在win10下访问samba,提示了以下错误:</p>
讯享网
一开始以为是配置问题,反复确认samba配置没问题。
samba配置如下:
如果samba配置没问题,那会不会是LINUX环境配置问题呢?
于是检查了LINUX的环境,firewall和selinux都关闭了,ssh也可以访问,samba服务器也起着,可以确认LINUX环境没问题。
如果不是LINUX的问题,那么很可能是WIN10的问题。但WIN10刚开始接触不太了解,之后从GetNAS 网站已正式下线 | 开源周末得到了帮助。
出现这个问题的最主要原因是Windows10操作系统希望使你的电脑“更安全”,从而禁止你以匿名身份访问远程的文件服务器,微软官方解释是这样的:
The security change is intended to address a weakness when using guest access. While the server may be fine not distinguishing among clients for files (and, you can imagine in the home scenario that it doesn’t matter to you which of your family members is looking at the shared folder of pictures from your last vacation), this can actually put you at risk elsewhere. Without an account and password, the client doesn’t end up with a secure connection to the server. A malicious server can put itself in the middle (also known as the Man-In-The-Middle attack), and trick the client into sending files or accepting malicious data. This is not necessarily a big concern in your home, but can be an issue when you take your laptop to your local coffee shop and someone there is lurking, ready to compromise your automatic connections to a server that you can’t verify. Or when your child goes back to the dorm at the university. The change we made removes the ability to connect to NAS devices with guest access, but the error message which is shown in build 9926 does not clearly explain what happened. We are working on a better experience for the final product which will help people who are in this situation.
根据文中的解决方案,我仍不能访问samba,于是我只能添加samba访问用户,samba配置如下:

useradd nuonuo
smbpasswd -a nuonuo
service smb restart
samba访问成功!
欢迎关注公众号:


版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/170402.html