Access Samba shares with Windows7 Professional
published September 27th, 2010 | categories: Featured, Headline, how-to, Informational, Installing, Linux, Microsoft, Resources | all categories
If you operate BIND9, DHCP3, and Samba on a network and are having difficulties connecting to Samba shares, you are not alone. A couple of things need to be changed for Windows7 to communication properly with Samba. The primary issue is that when you attempt to connect to a Samba share that is essentially wide open to the public, Windows7 asks for credentials in the form of a username and password. The first thing to try is to input the username of “anonymous” with an empty password. Essentially, this will be your user credentials. If that does not work, try the following:
Add the following statements to your /etc/samba/smb.conf and then restart Samba.
# ADDED FOR WINDOWS7 COMPAT.
protocol = LANMAN2
client lanman auth = yes
client ntlmv2 auth = yes
lanman auth = yes
ntlm auth = yes
Next, follow these two links and read through the forums posts. They describe a few registry additions and Local Security Policy changes that need to be made.
Summary: a fewadditions to the registry…
HKLM\System\CCS\Services\LanmanWorkstation\Parameters
DWORD DomainCompatibilityMode = 1
DWORD DNSNameResolutionRequired = 0
HKLM\System\CCS\Services\Netlogon\Parameters
DWORD RequireSignOnSeal = 0
DWORD RequireStrongKey = 0
Summary:
Control Panel > Administrative Tools > Local Security Policy (or secpol.msc)
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
Related Posts
- Ubuntu 10.04.4 mouse cursor disappears on one monitor
- Change Microsoft Office 2007 default save location using the registry
- Windows Firewall: Allow port using command line
- Free or open-source self-hosted spreadsheets
- MiniDLNA added to NW Linux application repository
Previous Post: « Remove interface from ifconfig without restartingDo you have something to say? Send me a message on Twitter @nwlinux.
Next Post: How I moved away from Google services »
See all posts
