Samba and Vista

January 13, 2008

Have you ever noticed that it's nearly impossible to mount a password-protected Samba share in Windows Vista? Well, after filtering through error logs and searching the Internet I found a solution. I know this may be hard to believe, but the problem is not with Samba. It appears that Vista defaults to the NTLMv2 protocol, which Samba does not support.

To make this problem go away, simply run secpol.msc and go to Local Policies followed by Security Options. Look for Network Security: LAN Manager authentication level. Change Send NTLMv2 response only to Send LM & NTLM - use NTLMv2 session security if negotiated.

After making that change I was able to mount the network shares without issue.