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…
DWORD DomainCompatibilityMode = 1
DWORD DNSNameResolutionRequired = 0
DWORD RequireSignOnSeal = 0
DWORD RequireStrongKey = 0
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
- How to monitor file/folder access using auditd
- Convert and handle .PST archive to mbox
- What information does AeroFS keep about your data?
- Reduce prying eyes with these anti-PRISM software
- Installing Android Studio on Ubuntu Linux 64-bit
Previous Post: « Debian 7 (Wheezy) – Power off when laptop lid closedPartially conscious on Twitter @nwlinux.
Next Post: Configure LDAP app for ownCloud 5.0.7 »
See all posts