Originally Posted by eeluve
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:
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