LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2010, 02:03 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 591

Rep: Reputation: 34
Samba authentication error with windows 7


Hi All

I h ave a samba server which authenticate with MS AD, and this is working fine with XP and etc. But recently we have bought some pc's with Windows7 and when I try to access this share through Windos7 I am getting this error
From the client side - It wont let me log in to the samba share
server side - the content in the log /var/log/samba/smbd.log
[2010/09/20 11:19:25, 0] lib/util_sock.c:read_data(534)
read_data: read failure for 4 bytes to client 192.168.21.193. Error = Connection reset by peer


Is there any special thing that I need to do on client (windows7) side or server side for this to work?

My systems details

OS - Red Hat Enterprise Linux Server release 5 (Tikanga)
Kernel - Linux server 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux
Samba - samba-3.0.23c-2

Thanks and best regards
 
Old 09-20-2010, 02:06 AM   #2
albertwt
Member
 
Registered: Aug 2010
Posts: 50

Rep: Reputation: 1
use this work around man:

Update: Some readers have pointed out that NTLMv2 authentication is supported in Samba 3.0. However, this certainly wasn't an option to get this running in my instance.

To get Vista to work with Samba follow the simple instructions below:

1. Open the Run command and type "secpol.msc".

2. Press "continue" when prompted by Windows.

3. Click on "Local Policies" --> "Security Options"

4. Navigate to the policy "Network Security: LAN Manager authentication level" and open it.

5. By default Windows Vista sets the policy to "NTVLM2 responses only". Change this to "LM and NTLM – use NTLMV2 session security if negotiated".

Once you’ve done this Windows Vista will be able to view network drives based on Samba servers and should fix any issues around using Samba as a Primary Domain Controller.


Code:
http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=339270746
 
1 members found this post helpful.
Old 09-20-2010, 02:38 AM   #3
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 591

Original Poster
Rep: Reputation: 34
Hi Albertwt, this it worked

Thank and Best Regards
 
1 members found this post helpful.
Old 09-20-2010, 02:39 AM   #4
albertwt
Member
 
Registered: Aug 2010
Posts: 50

Rep: Reputation: 1
glad to hear that man.

enjoy the day :-) because I'm a windows man who try to learn Linux here that is why i knew about it.
 
Old 09-20-2010, 03:02 AM   #5
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 591

Original Poster
Rep: Reputation: 34
you too!!
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba authentication failures trying to access my Windows PC from openSUSE 11.3 ozzy24 Linux - Networking 3 08-20-2010 01:25 AM
[SOLVED] OpenLDAP+Samba for authentication of both linux and windows clients Blue_Ice Linux - Server 24 07-02-2010 05:17 AM
samba and squid to be configure with NTLM authentication from Windows gautamnarayan Linux - Newbie 1 01-18-2010 03:52 AM
Samba authentication using a windows domain controller _os_ Linux - Server 4 08-05-2009 06:50 AM
windows authentication using ldap/samba pdc procfs Linux - General 2 07-21-2006 10:25 AM


All times are GMT -5. The time now is 06:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration