Sharing a Windows mapped drive
Asked Answered
O

6

14

I have a software archiving solution which requires a Windows share for the client but I want to actually store the files through samba on a Linux host.

This dependency requires that I have a Windows front-end to my Linux file archive.

When I map the Linux Samba share on the client as a drive, I cannot "share" it for the server to see.

I tried making a shortcut as well, but no sharing options

Is there a way to create a Windows folder that can be shared and as well, be able to write files to a Samba network share?

Oligoclase answered 27/7, 2011 at 19:32 Comment(1)
BTW, how that this question wasn't moved... ?Bawcock
F
11

Yes you can !

On W2008R2: Go into

Server Manager -Roles --Install File Services ---Install File Server & Distributed File System (DFS) Namespaces and Replication

Now you can go on Administrative tool - DFS Management - and in namespace you can add you share map drive

Factitious answered 28/7, 2011 at 16:1 Comment(1)
BTW; it won't work. Clients are redirected to the main server, not accessed through intermediary.Bawcock
S
4

Dont know why there are down votes for user3613052's answer. MKLink will be able to do that. It creates a symbolic link to the shared folder which can then be shared.

MKLink /D D:\newlink \\networkpc\folder

Net Share Media=D:\newlink

Then you can access the drive by \\yourpc\newlink

http://www.edugeek.net/forums/windows-7/78598-re-sharing-mapped-shared-drive.html#post700170

Sinh answered 11/8, 2015 at 21:31 Comment(1)
I consistently get ACCESS DENIED when following this procedure. All machines -- the client, the intermediate, and the destination -- are in the same domain, on the same subnet, and I am using the same domain user in all instances. Yet I get ACCESS DENIED.Compensable
A
2

DFS is indeed the answer.

map network drive. R-click to creat shortcut for that mapped drive.

Open DFS (as stated above) new namespace, enter name of server, enter any name for folder

Once created, copy/move your shortcut into the namespace folder Default location is c:\dfsroots\

sweet - thanks.

Ader answered 21/2, 2013 at 20:44 Comment(1)
it doesn't work. I have it in DFS as Folder1 and path \\MY-SERVER\Shared Folders\Folder1 but when I try to map it on my client PC I get system error 1232Amon
E
1

You can use the mklink command to map the Network drive to a local folder

Encaustic answered 7/5, 2014 at 16:24 Comment(0)
C
0

I don't think it's possible to share through a network drive on a windows machine. Even if it would be, the performance would probably be terrible.

Is it not possible for the backup solution on the client to just use the samba share directly? It should not behave differently from a share on a Windows machine.

Calciferol answered 27/7, 2011 at 19:58 Comment(0)
A
0

I haven't done it, but port forwarding the samba ports might work.

Ascarid answered 9/12, 2022 at 1:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.