我的是windows 10 21H1,输入了正确的samba密码,还是不能访问共享,提示指定的密码错误。
运行 Secpol.msc 编辑本地策略--》安全选项--》网络安全:LAN 管理器身份验证级别---》选择 仅发送NTLMv2响应。拒绝LM和NTLM(&)
这样就可以解决了。
参考:linux - Windows 10 Password Error with Samba Share - Super User
if anyone else runs into this problem, my solution was to adjust the security policies on the Windows client.
Run > Secpol.msc
then I set Local Policies > Security Options > Network Security: LAN Manager authentication level to 'Send NTLMv2 response only. Refuse LM & NTLM'
and the client connects just like before.