[Solved] System error 86 – The specified network password is not correct

When I tried to connect my samba server with Windows 10, but got the error,

System error 86 - The specified network password is not correct

I don’t have permission to change the configuration of the Windows machine, while I can change the configuration on my Ubuntu machine where the samba service is running.

I fixed the problem on the server (Ubuntu 20.04): In /etc/samba/smb.conf, put:

ntlm auth = true

Reference: https://superuser.com/questions/1125438/windows-10-password-error-with-samba-share