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?

link|improve this question

60% accept rate
feedback

3 Answers

up vote 2 down vote accepted

Are you running Samba 3? If you are try adding this to the smb.conf

client ntlmv2 auth = yes
link|improve this answer
feedback

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 first.last@domain.tld (e.g. fred.bloggs@company.local).

link|improve this answer
feedback

Personally, since "Windows7" has support for "mapping a drive via FTP", I would use that instead. It would probably perform better.

link|improve this answer
maybe if windows 7 was the only thing i had to connect to this samba share. or if i had a ftp server running. I know it's trivial, but I still need to use samba for other computers. – Roy Rico Sep 8 '09 at 18:56
I was trying to say you should use the FTP drive mapping for Windows7 and continue to use your working Samba config for the other windows machines. – djangofan Sep 8 '09 at 22:39
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.