LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2011, 12:00 AM   #1
eeluve
Member
 
Registered: Nov 2011
Location: Russia, SPb
Distribution: all of 'em
Posts: 49

Rep: Reputation: Disabled
Mount fs question


How to mount a shared drive from windc to Unix(say Debian). Shared folders mounts just fine(both manually or through fstab), but drives do not.
 
Old 11-22-2011, 09:09 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by eeluve View Post
How to mount a shared drive from windc to Unix(say Debian). Shared folders mounts just fine(both manually or through fstab), but drives do not.
that's weird, because the client (the machine that wants to access a network share) usually can't tell the difference. A network share is a network share, regardless of what it refers to on the server.

I guess that the problem is on the Windows PC.

Just a wild guess: Whenever you enable file and/or printer sharing on Windows, every drive automatically gets a hidden so-called administrative share. That is, drive C: is automatically shared as C$, drive D: as D$ and so on. To access these administrative shares, you need Administrator privileges.
Now, when you create another share that also maps to c:, Windows may get confused with these and requires Admin privileges for the other share, too. Try mounting it as user "Administrator" with the Windows Admin password. If that works ...

You can disable these administrative shares in Windows for good: Just add either of the following two registry keys:

Code:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\lanmanserver\parameters]
AutoShareWks=dword:00000000              (for a normal Windows workstation)
AutoShareServer=dword:00000000           (for a dedicated Windows server version)
It doesn't hurt, though, to add them both.

[X] Doc CPU
 
Old 11-24-2011, 02:46 AM   #3
eeluve
Member
 
Registered: Nov 2011
Location: Russia, SPb
Distribution: all of 'em
Posts: 49

Original Poster
Rep: Reputation: Disabled
Thank you for the feedback. Ive got everything running as intended, had some "name" kind issues.
 
  


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
mount question IMOBoss Slackware 3 03-17-2007 11:47 AM
mount question shanenin Linux - Software 1 03-16-2005 05:30 PM
Mount question and hot swap question Dr Gutiemouth Linux - Newbie 8 10-20-2004 12:30 PM
To mount, or not to mount - That is the question! eBopBob Linux - Hardware 4 08-01-2004 03:18 PM
Mount Question.. w0rmh0l3 Linux - Hardware 6 08-22-2002 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:07 PM.

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