Web Hosting Talk







View Full Version : Mounting a remote file system


lyew
09-14-2004, 07:44 PM
Hi all,

At present I have two servers -- a linux and a windows 2003 server located into two different DCs.

Now I have a folder in one of the disk drives on my windows machine that I would like to mount on my linux machine. I know that Samba allows you to do that but, if I'm not wrong, only on the same network.

Does anyone know if there's a solution to this?

Changeling
09-14-2004, 07:52 PM
If you have administrative access to the Windows 2003 server and are allowed to install software, I would recommend Microsoft's Services for Unix (SFU) which Microsoft now provides free of charge on their website. It will let you run a NFS server on the Windows server so you can mount shares using NFS instead. This has the benefit of allowing you to preserve user permissions on the Windows server. By mapping Unix users to Windows accounts you can still use NTFS permissions to control access on the Windows server. If you use smbfs to mount Windows shares then you are forced to mount the share as a particular user so all users of your Linux system access the Windows share as the same user.

Brian

innova
09-14-2004, 10:34 PM
As a note, Cygwin will also let you run an NFS-server on a windows machine. Very handy, and the rest of the tools beat the pants off SFU in my humble opinion.