Some day, when my laptop computer upgrades to windows 10 and linux samba file server upgrades to samba 4.5(+), files shared by samba server can not been accessed from windows 10.
How to solve it? There are two possible methods which can handle this issue.
1. samba server
After samba server version 4.5(+), only NTLMv2 logins will be permited, but not all clients support NTLMv2. So we set to use previous authenticate method in the same time.
In the file "/etc/samba/smb.conf", add just one line to [global] section:
#lanman auth = yes # Do not need to set it.
ntlm auth = yes
After that , restart your samba server, and problem solved.
If the above can not take effect, the following may be work.
2. Windows setting
In windows 10, Microsoft has removed the ability to connect to unsecured network shares by default.
In registry item:
"HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters"
add a DWORD key with name "AllowInsecureGuestAuth", then set its value to "1".
Now you should now be able to access samba shares.
3. Conclusion
For me, the first method is enough to solve my problem!