Mounting samba shares in Windows 7

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:

  1. Control Panel -> Administrative Tools -> Local Security Policy
  2. Local Policies -> Security Options
  3. Network security: LAN Manager authentication level -> Send LM & NTLM responses
  4. Minimum session security for NTLM SSP ->Disable Require 128-bit encryption

You may also need to remove any stored credentials.

  • Control Panel -> Credential manager.

——-

2009/11/04 Update

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.