T-rev's Blog


43 2014-01-13 13:41 Fix Samba and Windows Vista/7/8
tips

Not sure why I didn't save this when I set up Win 7 a couple years ago. Setting up Win 8 now it wouldn't connect to shares on my NAS, and I had to search again for the setting to fix it. And the answer was a needle in a haystack of search results:

From: http://arouter.blogspot.com/2011/07/samba-file-server-on-dd-wrt.html:

When accessing Samba from a Windows Vista/7 machine, the password will
always be rejected regardless whatever you input. That's because the
Samba we used here does not support the new password authorization
scheme in Windows.

To fix:
Run secpol.msc Go to: Local Policies -> Security Options
Find "Network Security: LAN Manager authentication level" and change
setting from "Send NTLMv2 response only" to "Send LM & NTLM - use
NTLMv2 session security if negotiated"

Some Windows versions may not have secpol.msc, in this case, save
these 3 lines below to file sambafix.reg and run it:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"LmCompatibilityLevel"=dword:00000001
Reboot the Windows to make the change take effect.


Comments

No comments yet

Add Comment

This item is closed, it's not possible to add new comments to it or to vote on it