Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-21-2010, 08:31 PM   #1
LQ Newbie
Registered: Mar 2010
Posts: 4

Rep: Reputation: 0
failed to mount windows share

i'm trying to connect to the three other machines in my house but am having quite a hard time doing so. i've never had a problem in the past with ubuntu, but, with 9.1 and windows 7, things have gotten a bit harder. i'm running 9.1 and my roommates are running windows 7. i've installed, set up and configured samba and i can see the computers on my network, but any time i try to access either of the drives, it says unable to mount location: failed to mount windows share. what am i doing wrong?
Old 03-21-2010, 11:57 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

You're right ... things *have* gotten a lot harder. Mostly on the Windows Vista/Server 2008/Win7 side of the house (not vice versa). Trust me: you'd be experiencing the same kind of sharing problems just trying to connect older versions of Windows with Win7.

1. For starters: make life easy on yourself, and don't even *try* to access drives. At least not at first: create explicit shares in Windows; define explicit users in Windows and in Samba, and try to connect to those.

Once you do that successfully, then you can Google for the Windows hacks needed to share drives (e.g. "c:" or "d:"). But frankly, I'd discourage you from doing so: the rationale behind no longer being able to share drives directly (especially the C:\ system drive) is sound, IMHO.

2. Look at this link and try these two steps:
Could be how windows is responding to auth requests..

3 - "Send NTLMv2 response only"
1 - "Send LM & NTLM - use NTLMv2 session security if negotiated"

Windows Registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa "LmCompatibilityLevel"

if that value is set to 3, change it to a 1 and try to connect again.
... and ...
I'd take a punt on an SELinux issue. Try disabling it temporarily with "setenforce =0" and see if it works. If that fixes the problem, read this
3. Take a look at these links:
<= Mostly for a domain: probably not applicable
In order for the PCH to see your Windows 7 share you must share the folder you want it to see. If you do not share the folder the PCH will not see it.
Also make sure that you configure filesharing in the network file sharing menu, turn on guest sharing, if its off the PCH will not see the share.
<= Basically what I said above: you need explicit shares: sharing whole drives is deprecated in newer versions of Windows...

'Hope that helps .. PSM

Last edited by paulsm4; 03-22-2010 at 12:04 AM.
Old 03-24-2010, 12:48 PM   #3
LQ Newbie
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0
i haven't gone to the links yet, i decided to get on my roommates computer to see if i could just transfer the files using one of the windows machines and it's telling me the destination folder access denied. do i need to do something on my end to fix that??
Old 03-24-2010, 12:52 PM   #4
LQ Newbie
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0

Last edited by gearmouse; 03-24-2010 at 01:16 PM. Reason: double post
Old 03-27-2010, 12:53 PM   #5
LQ Newbie
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0


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
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 11:28 AM
mount windows share lrt DamnSmallLinux 4 06-26-2008 10:08 AM
Mount windows share nkutty Linux - Networking 2 06-08-2008 10:54 PM
when trying to mount a windows share I'm getting jcombs_31 Slackware 11 01-04-2006 06:48 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:01 PM.

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