Search This Blog

2011-04-28

Windows 7 Samba Share Issues


On some Windows 7 installations you may end up not being able to access network shares inbound to the desired machine but can easily connect to an outbound machine. The error looks something like seen above

This issue can be solved in some cases by an edit to the "Local Security Policy" but needs to be done by the administrator.

Windows Key > Type CMD in the search bar > Right Click cmd.exe and "Run As Administrator" > Type "gpedit"

This will bring you to the group policy editor in Windows 7.
From there go to: Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options

This will put you in the security policies for your system and the place where you need to make the change for your machine to authenticate to the remote machine successfully.

From here: Look for the "Network Security: LAN Manager Authentication Level" Policy and "right click" and change it from undefined to "Send NTMLv2 responcse only, refuse LM & NTML"

Alternatively
This could just be an issue in which you have not enabled the file sharing or are not on a "Home Network" where sharing is permitted.

If that is the case ensure you change your settings by going to Control Panel > Network and Sharing Center > Change Advanced Sharing Settings.
Then turn on Network Discovery, File and Printer Sharing, and Public Folder Sharing(If you are using public folders for sharing purposes) in your Home Network drop down.

1 comment:

  1. If you want to access a Samba share _from_ Windows 7 this will not work. You need to change that security setting to:

    Send LM & NTLM - Use ntlmv2 session security if negotiated.

    Furthermore you need to set the minimum session security to "No minimum"

    ReplyDelete