I recently decided to upgrade my desktop systems hardware, deciding to upgrade to Windows 7 at the same time. To my surprise (or is that annoyance) I couldn’t mount any of the shares on my Samba server.
A quick Google turned up a post by nikonz on the Toms Hardware forums giving the solution:
- Control Panel -> Administrative Tools -> Local Security Policy
- Local Policies -> Security Options
- Network security: LAN Manager authentication level -> Send LM & NTLM responses
- Minimum session security for NTLM SSP ->Disable Require 128-bit encryption
You may also need to remove any stored credentials.
- Control Panel -> Credential manager.
While digging through serverfault.com, I came across another solution that, instead of changing the configuration of the Windows 7 client, involves adding an additional configuration option to Samba.
If you are running Samba 3, you can add
client ntlmv2 auth = yes
to the global configuration section of smb.conf. You can find the Serverfault posting at Windows 7 not able to connect to Samba.