Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Samba network share issue with Windows 7


09 Feb 2009   #1
Jibbs

 
Samba network share issue with Windows 7

Hi all,

Was having an issue here and was hoping someone could offer some assistance.

I have a Linux Box (debian) running with Samba installed and hosting a network share.

I can access the share on a 2 Windows XP machines, a windows Vista machine, AND a modded Xbox with Xbox media center with SMB support. However, for some reason, windows 7 comes up with an error box when I try to connect and says

Quote:
\\10.0.0.1

More Data is available.
10.0.0.1 being my sharebox/router.

I went into gpedit.msc and then to "Computer Configuration / Windows Settings / Security Settings / Local Policies / Security Options" and selected a variety of the choices here but none seem to do the trick

My System SpecsSystem Spec
.

12 Feb 2009   #2

Vista H.P. SP1 x32 Seven RC x64
 
 

I do have probleme to with a file server under Debian R4 avec Samba.

All work pretty fine with Vista (dual-boot) and from a Xbox with XBMC But from Seven Beta it's really slow and totally unusable.
File explorer freeze each time I navigate intoo file folder that are on the network Drive.
And the copy of video file is pretty impossible.
After few try the connexion is lost but I can still access the serveur via webmin or putty but it can be laggy.

I really don't understand what's goning wrong. I had some similar problem at the beginning with Vista but not at this level !!
My System SpecsSystem Spec
21 Sep 2009   #3

Windows 7 RC
 
 

Quote   Quote: Originally Posted by Jibbs View Post
Hi all,

Was having an issue here and was hoping someone could offer some assistance.

I have a Linux Box (debian) running with Samba installed and hosting a network share.

I can access the share on a 2 Windows XP machines, a windows Vista machine,
Similar problem here (but slightly different). Trying to access a Windows 7 share from Ubuntu 9.04, I just get a constant log-in dialog box. Works fine to XP...
My System SpecsSystem Spec
.


21 Sep 2009   #4

Win7x64
 
 

Quote   Quote: Originally Posted by Gordonbp View Post
Similar problem here (but slightly different). Trying to access a Windows 7 share from Ubuntu 9.04, I just get a constant log-in dialog box. Works fine to XP...
Many authentication incompatibilities between NIXes and Vista/Windows 7 are caused by the latter's (default settings) reluctance to resort to the older and less secure NTLM version 1 - NTLMv1 - authentication mechanism.

If you change the policy setting highlighted in the attached screenshot to include NTLMv1 (and not just NTLMv2), that may do the trick.


Attached Thumbnails
Samba network share issue with Windows 7-ntlmvx.png  
My System SpecsSystem Spec
23 Sep 2009   #5

Windows 7 RC
 
 

Tried that - and disabling SMB2 and still no joy.
My System SpecsSystem Spec
23 Sep 2009   #6

Win7x64
 
 

Quote   Quote: Originally Posted by Gordonbp View Post
Tried that - and disabling SMB2 and still no joy.
Disabling SMB2 should be unnecessary because Windows 7/Vista/Win2K8 will always fall back on SMB1 if the newer variant is not negotiated. In other words, they're just as happy with SMB1 and the choice is automatic depending on the capabilities of the other party.

At this stage, I'd personally be looking at a packet trace to try to understand what's failing and why. If you like, please upload a (zipped) packet trace of the connection attempt and I or somebody else here may be able to help.

(To generate a trace: www.wireshark.com, download, install, start trace, repro connection failure, stop trace, save trace, zip up, upload.)
My System SpecsSystem Spec
23 Sep 2009   #7

 
 

H2SO4:

First off, thank you for the tip - this solves the issue completely on my end. What I did notice, however, is that prior to changing the authentication method options, I could access the share via \\server_hostname\\share_name\, but not through the server's LAN IP address (both boxes are on the same subnet). When I added the server's ip to /etc/hosts, the share became accessible. Again, this is before modifying auth method preferences.

That would indicate that attempting to access the share through the server's IP address in this case somehow triggers a legacy auth method, as opposed to ntlmv2, correct? If so, do you have any idea as to why this could be occurring?

The server in question is running Samba 3.0.28a.

Thanks again for your help.
My System SpecsSystem Spec
23 Sep 2009   #8

Win7x64
 
 

Quote   Quote: Originally Posted by trespasser View Post
H2SO4:

First off, thank you for the tip - this solves the issue completely on my end. What I did notice, however, is that prior to changing the authentication method options, I could access the share via \\server_hostname\\share_name\, but not through the server's LAN IP address (both boxes are on the same subnet). When I added the server's ip to /etc/hosts, the share became accessible. Again, this is before modifying auth method preferences.

That would indicate that attempting to access the share through the server's IP address in this case somehow triggers a legacy auth method, as opposed to ntlmv2, correct? If so, do you have any idea as to why this could be occurring?

The server in question is running Samba 3.0.28a.

Thanks again for your help.
No problem, glad to hear that worked for you.

The choice of authentication mechanism invoked by the client depends on two main factors:

1) whether the "target" name is IP/FQDN or a single-label hostname,
2) whether the client is a member of an AD domain.

As you've found, the use of an IP address or a FQDN (host.domain.com) as the target causes a different security path to be taken compared to a single-label host. Adding domain membership introduces another layer of complexity because IP/FQDN access will then rely on Kerberos while single-label still falls back on NTLM.

These settings can mostly be controlled through policy, so joining a "real" domain with multiple layers of group policy settings may produce varying results, depending on what the domain admins have specified.

Hope this helps.
My System SpecsSystem Spec
05 Oct 2009   #9

Windows7, Gentoo Linux
 
 

Hi Trespasser, I have run into the very same thing where Windows 7 shares and printers are unavailable from my Linux boxes. I get the very same dialog box that regardless of entering my user name and password from windows, it never lets me get to the share or print to the windows shared printer. Please give me details on EXACTLY what you did to solve the problem and indicate all steps for both windows and linux sides.
Thank you
My System SpecsSystem Spec
06 Oct 2009   #10

 
 

billydv,

I merely followed h2so4's advice above (the post with a screenshot) to change the auth method on my client box.
My System SpecsSystem Spec
Reply

 Samba network share issue with Windows 7





Please note  Please note
        When your issue is fixed please remember to thank those that helped you and mark the thread as solved.
Thread Tools



Similar help and support threads for2: Samba network share issue with Windows 7
Thread Forum
Solved Can't connect to Samba share from Win 7 ultimate 64-bit Network & Sharing
Solved samba share is not accessible from Windows 7 client... Network & Sharing
Samba Share Networkmounting as X,Y,Z works, \\Share\mount not Network & Sharing
Samba share appearing under Network area of Windows 7 explorer Network & Sharing
SAMBA share windows 7 and HP Unix Network & Sharing
Connecting Windows 7 to SLES 10 Sp1 Samba Share Network & Sharing
Can't connect to samba share Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:36 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33