LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-21-2010, 06:07 PM   #1
pobrika
Member
 
Registered: Jan 2008
Location: Bournemouth, UK
Distribution: Mint, #!, Fedora, Redhat, Centos
Posts: 64

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
Code:
//ipaddress/Linux     /linux          smbfs   username=MYDOMAIN\username,password=xxxxxx,_netdev,uid=1000,gid=1000 0 0
I try this manually now:
Code:
# 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:

Code:
# mount -t cifs //ipaddress/Linux /linux -o username=MYDOMAIN/username
Password:
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
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,052

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
Quote:
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

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

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

Quote:
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.

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


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
[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


All times are GMT -5. The time now is 02:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration