||Home||Switchboard||Unix Administration||Red Hat||TCP/IP Networks||Neoliberalism||Toxic Managers|
|(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and bastardization of classic Unix|
How can I connect to a Samba share with authentication using Windows 7?
We have a bunch of Linux, HP-UX and AIX servers on our network with folders shared using Samba. These are not connected to our Active Directory or anything, we just type a user name and password when we connect to them. They still all work fine from Windows XP, but we've upgraded a couple of machines to Windows 7 and they can't access the shares. You get prompted for a password but it says "The specified network password is incorrect" (it's not).Colin Pickard
See also serverfault.com/questions/91797/… – Mike T Jul 26 '12 at 0:11 add a comment | activeoldestvotes
- Run: gpedit.msc
Console Root -> Local Computer Policy -> Computer Configuration -> Windows Settings -> -> Security Settings -> Local Policies ->Security Options
When you're there change the following policies
- Microsoft network client: Send unencrypted password to third-party SMB server: Switch it to "Enabled".
- Network security: LAN Manager authentication level: Select the option: Send LM & NTLM - use NTLMv2 session security if negotiated.
answered Mar 2 '10 at 18:22
Thanks, this solves the problem. It sounds like we should probably be upgrading samba on all our servers too, but that will take a while... – Colin Pickard Mar 3 '10 at 9:56
doesn't work for me >:( – endolith Jun 10 '11 at 4:22
@ Cy. Instead of running gpedit.msc and doing all that navigation, secpol.msc takes you directly to your security settings.
Everything else is correct otherwise.. – user140593 Jun 16 '12 at 20:17
@user168261: I'm running latest version of Samba. #4 works (and is needed). #3 is unnecessary (with later Samba versions). – Gerrat Jul 11 '13 at 21:05
I am running Windows 8 and this solution did not work for me. – ktamlyn Jul 25 '13 at 20:35
Get Vista and Samba to work | TechRepublic
- Open the Run command and type "secpol.msc".
- Press "continue" when prompted by Vista.
- Click on "Local Policies" --> "Security Options"
- Navigate to the policy "Network Security: LAN Manager authentication level" and open it.
- By default Windows Vista sets the policy to "NTVLM2 responses only". Change this to "LM and NTLM – use NTLMV2 session security if negotiated".
add a comment |
share|improve this answer edited Jun 17 '12 at 6:43
answered Mar 2 '10 at 19:21
+100 if I could! Been trying to get this working for over a day. – Gerrat Jul 11 '13 at 21:05 up vote3down vote If you're running an old version of Samba, it's possible that you're run into this problem. Here is some further discussion. Basically, Windows Vista and 7 disable an old and insecure method of authentication which Samba was using by default. Tweaking the registry setting as described in the article should get it working. Ideally, of course, you would upgrade Samba to a new version, but that might not be possible at the moment.
If this doesn't work, could you post the version of Samba that you're running?
share|improve this answer answered Mar 2 '10 at 16:29
I did not have a LmCompatibilityLevel key on my Win7 machine. I don't know if creating the key would have worked? The gpedit solution worked for me anyway. – Colin Pickard Mar 3 '10 at 10:02 What version of Samba is required? Is it a samba configuration issue? – endolith Jun 10 '11 at 4:00add a comment | up vote0down vote I had same issue. When I try to connect I get
While I do:
- Change Network security: LAN Manager Authentication Level to “Send LM & NTLM responses”
- Change Minimum Session Security for NTLM SSP to disable “Require 128-bit encryption” into “No Minimum Security”.
- Uninistalling KB2536276.
another thing stop from done is:
Client for Microsoft Networksin my WiFi dangle
File and printer sharing for Microsoft Networksin
Network panelallow me access to Win7 shared folders.
share|improve this answer
Windows 7 not able to connect to Samba
I'm trying out Win7, and i'm trying to connect to the networked samba share as I have been able to in Vista & XP with no issues. Samba is running on Ubuntu, if that helps.
I've tried changing the following in the local security policy as i've seen on as the answer on some sites, and it's still not working:
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
I am getting this in my samba error log:
[2009/09/06 15:15:53, 0] lib/util_sock.c:read_data(534)
read_data: read failure for 4 bytes to client 192.168.1.101. Error = Connection reset by peer
Has anyone seen this issue yet?
edited Sep 8 '09 at 18:37
asked Sep 6 '09 at 22:26
Are you running Samba 3? If you are try adding this to the smb.conf
client ntlmv2 auth = yes
In case you've tripped across this like I have, and the good answer from @Josh Budde hasn't helped, you might find that your Samba setup is using ADS as its authentication source (you'll find the line "security = ADS" in your smb.conf).
In my case I was trying to access a Samba source on a remote, non-trusted Domain, and when entering login details I entered the username in the Windows NT format e.g. DOMAIN\first.last.
Even though the credentials were correct, the Samba server would reject the credentials and the Samba error log had the message as per the Op.
The fix is really easy - enter your username in the LDAP/ADS format of firstname.lastname@example.org (e.g. email@example.com).
Windows 7, connecting to Samba shares
Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers : Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism : The Iron Law of Oligarchy : Libertarian Philosophy
War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda : SE quotes : Language Design and Programming Quotes : Random IT-related quotes : Somerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose Bierce : Bernard Shaw : Mark Twain Quotes
Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 : Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law
Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds : Larry Wall : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOS : Programming Languages History : PL/1 : Simula 67 : C : History of GCC development : Scripting Languages : Perl history : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history
The Peter Principle : Parkinson Law : 1984 : The Mythical Man-Month : How to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite
Most popular humor pages:
Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor
The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D
Copyright © 1996-2020 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.
This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...
|You can use PayPal to to buy a cup of coffee for authors of this site|
Last modified: March, 12, 2019