Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sharing a Mapped Network Drive

Status
Not open for further replies.

janderson622

Technical User
Aug 10, 2001
27
US
Hi,

Is it possible to share a mapped network drive?

Here is the scenario:
I've got an internal network of users setup, authenticating off of my (NT4.0) PDC and using a secondary (NT4.0) server (server A) for storage / file sharing. There is a branch across the state that we need to share with. We setup a vpn using cisco PIX firewalls. I setup the secondary NIC in Server A to connect into the shared drive across the state, and I mapped that drive.

My question now is, how to I get my users access to that mapped network drive?

Can I share it?

Other than rewiring things, can anyone see a way to do this?

Thanks in advance.


--John


 
No way to share a share in WinNT or 2000.
However... in Samba (under unix / linux) I can mount a shared volume and then under Samba offer it out again as a share... So if you want to build a small Linux box this is most certainly possible - in fact you can share anything.. I have at my company a shared volume which actually exists on an FTP server located at another office, which is mounted on my Linux box and shared out as a Windows share... a little slow but it kinda makes things easy on the users......

But in Windows.... not possible.. sorry.. I've wished that Microsoft would offer this as a feature for many years........
 
Thanks for the response. I am somewhat familiar with Samba, but not the way you are saying to use it. (I've only ever shared directories on the linux box Samba was running on).

Can you give me an idea of what the samba conf file would need to look like to pull that off?

Thanks.



--John
 
Use SMBClient to mount the volume on to your unix box - see URL
To configure smb.conf go here



Also ALL my training on Samba was with the help of an EXCELLENT BOOK by QUE - 'Special Edition Using Samba' - ISBN 0-7897-2319-0
This book is far better than the other rather unhelpful Samba books. It has examples of use and many 'almost' undocumented tricks
 
Thanks for the input.

I got samba installed and running with no problems. Now I am attempting to get the smbclient command done.

Once I run that command, I'm unclear as to how I make that resource from the remote computer available to my local users. In the smb.conf file would I just have the "path" be set to \\remoteserver\share ?

Is running the smbclient just to verify that I can connect?

Thanks again.


--John
 
You use SMBCLIENT to connect to the share and mount it to a volume on the linux box.
When you connect to the volume it should show the contents of the shared machine.
Once this is done, set the share in SMBCLIENT to the mounted volume and hey presto!
 
Hi,

Ok, a stupid routing problem kept me from getting this mounted earlier.

Anyway, I used smbmount to mount the remote share, now when I try to map from a windows machine, I get username / password problems. Incorrect password or invalid username is the error I'm getting.

But when I mapped the drive with smbmount I passed a username / password with it.

Thoughts?



--John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top