Share your knowledge at the LQ Wiki.
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 07-21-2010, 06:07 PM   #1
Registered: Jan 2008
Location: Bournemouth, UK
Distribution: Mint, #!, Fedora, Redhat, Centos
Posts: 69

Rep: Reputation: 18
After Upgrading from Win7-32 to WIN7-64 can't mount cifs shares

Hi all,

This is the first time I have run into issues mounting windows shares but I really can't figure this out. Can someone put me out of my windows misery please.

First off, last week I rebuilt my work PC fromWIN7 32bit to WIN7 64bit since then I can no longer mount the window share on my ubuntu server:
Ubuntu 10.04 (32 bit) - 2.6.32-22-generic #36-Ubuntu SMP

I recreated my windows share called "Linux" and used the properties, advanced sharing and added everyone, full access and my domain account full access.

If I browse to \\ipaddress I can see my share and access it.
From a XP machine I can see the share and access it.

From linux I use the same mount point as before, /linux
I use the same fstab and it fails
//ipaddress/Linux     /linux          smbfs   username=MYDOMAIN\username,password=xxxxxx,_netdev,uid=1000,gid=1000 0 0
I try this manually now:
# smbclient --user=mydomain/username -L ipaddress
Domain=[MYDOMAIN] OS=[Windows 7 Enterprise 7600] Server=[Windows 7 Enterprise 6.1]

        Sharename       Type      Comment
        ---------       ----      -------
        Linux            Disk      Linux_Share
Next I try to mount it:

# mount -t cifs //ipaddress/Linux /linux -o username=MYDOMAIN/username
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I looked at my firewall rules and they seem ok.

Next test was connecting to my 2nd pc on windows XP no probs mounted first time.

What is wrong with my new Win 7 setup?

any help would be very welcome.
Old 07-21-2010, 07:40 PM   #2
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,538

Rep: Reputation: 651Reputation: 651Reputation: 651Reputation: 651Reputation: 651Reputation: 651
Originally Posted by pobrika View Post
[CODE]# mount -t cifs //ipaddress/Linux /linux -o username=MYDOMAIN/username
Are you sure username=MYDOMAIN/username is acceptable? I use username=MYDOMAIN\username

Old 07-21-2010, 08:15 PM   #3
Registered: Jan 2008
Location: Bournemouth, UK
Distribution: Mint, #!, Fedora, Redhat, Centos
Posts: 69

Original Poster
Rep: Reputation: 18
OMG I found the answer, and can't belive it after 2 days of messing with this.

A reboot fixed it! How about that for a momment I felt like I was on a windows machine

Are you sure username=MYDOMAIN/username is acceptable? I use username=MYDOMAIN\username
Both of these cmds below worked for mounting once I had rebooted.

mount -t cifs // /linux -o username=domain/user,password=xxxxxxx
mount -t cifs // /linux -o username=user,domain=domain
I can only guess it was a kernel thing? Now using:
2.6.32-24-generic #38-Ubuntu SMP


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
[SOLVED] can mount WinXP share but not Win7 share in fstab dodgefan Linux - Server 9 06-13-2010 07:45 PM
Uninstalling Win7 darran Linux - Newbie 13 06-09-2010 04:04 PM
ssh to win7 in vbox j1alu Linux - Virtualization and Cloud 7 10-16-2009 09:36 AM
How does Win7 stack up against Fedora 11? bjrogersIV Linux - Newbie 21 09-26-2009 08:45 AM
CIFS Shares mount problem havok1977 Linux - Software 3 06-12-2007 12:00 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:18 AM.

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