Guest Simon Posted September 2, 2008 Posted September 2, 2008 Hi There, Sorry if this is in the wrong discussion group... didnt quite know where it fitted. Is there a way to create a network mount point within the file system? (on Windows 2003 R2 Server) I would like to mount a samba share that we have: //devstaging/websites/www.website.co.nz/htdocs/ to: C:\Inetpub\wwwroot\website\ Coming from a linux sysadmin backgound here :) Thanks Simon
Guest Anteaus Posted September 3, 2008 Posted September 3, 2008 RE: Network mount point within file system? Windows: Not sure. Never seen any way to do this, at least not on servers up to 2003. Linux: Yes, therefore one optoion is to make the Samba share the master and the Windows one the subdirectory. The command you need is: sudo mount -t cifs -o rw,username=user,password=password //windowsserver/sharename /linuxshare/mountpoint Alternatively, if this is a website, you can use folder-redirection on the webserver to integrate the samba share into the webspace. This will not make it a contiguous local share, but it will make it appear seamless to website users. "Simon" wrote: > Hi There, > > Sorry if this is in the wrong discussion group... didnt quite know where it > fitted. > > Is there a way to create a network mount point within the file system? (on > Windows 2003 R2 Server) I would like to mount a samba share that we have: > > //devstaging/websites/www.website.co.nz/htdocs/ > > to: > > C:\Inetpub\wwwroot\website\ > > Coming from a linux sysadmin backgound here :) > > Thanks > > Simon
Guest Simon Posted September 3, 2008 Posted September 3, 2008 RE: Network mount point within file system? thanks for the reply.. ok. This server is a standalone server running on a mixed network. How do i use folder redirection in this case? "Anteaus" wrote: > Windows: Not sure. Never seen any way to do this, at least not on servers up > to 2003. > > Linux: Yes, therefore one optoion is to make the Samba share the master and > the Windows one the subdirectory. The command you need is: > > sudo mount -t cifs -o rw,username=user,password=password > //windowsserver/sharename /linuxshare/mountpoint > > > Alternatively, if this is a website, you can use folder-redirection on the > webserver to integrate the samba share into the webspace. This will not make > it a contiguous local share, but it will make it appear seamless to website > users. > > > "Simon" wrote: > > > Hi There, > > > > Sorry if this is in the wrong discussion group... didnt quite know where it > > fitted. > > > > Is there a way to create a network mount point within the file system? (on > > Windows 2003 R2 Server) I would like to mount a samba share that we have: > > > > //devstaging/websites/www.website.co.nz/htdocs/ > > > > to: > > > > C:\Inetpub\wwwroot\website\ > > > > Coming from a linux sysadmin backgound here :) > > > > Thanks > > > > Simon
Guest Anteaus Posted September 4, 2008 Posted September 4, 2008 RE: Network mount point within file system? Assuming it's running IIS: http://www.candsdesign.co.uk/articles/iis/redirect/folder-redirect/ "Simon" wrote: > thanks for the reply.. ok. This server is a standalone server running on a > mixed network. How do i use folder redirection in this case? >
Guest Michael A. Loginov Posted September 4, 2008 Posted September 4, 2008 Re: Network mount point within file system? Seems like You'd like to use samba-share as the site folder for IIS site. If I'm right, You can just tell Your IIS to store specified site content in Your samba share. On 04.09.08 1:28, in article 3C834980-50A8-41D6-ACA9-912E9B06E72F@microsoft.com, "Simon" <Simon@discussions.microsoft.com> wrote: > thanks for the reply.. ok. This server is a standalone server running on a > mixed network. How do i use folder redirection in this case? > > "Anteaus" wrote: > >> Windows: Not sure. Never seen any way to do this, at least not on servers up >> to 2003. >> >> Linux: Yes, therefore one optoion is to make the Samba share the master and >> the Windows one the subdirectory. The command you need is: >> >> sudo mount -t cifs -o rw,username=user,password=password >> //windowsserver/sharename /linuxshare/mountpoint >> >> >> Alternatively, if this is a website, you can use folder-redirection on the >> webserver to integrate the samba share into the webspace. This will not make >> it a contiguous local share, but it will make it appear seamless to website >> users. >> >> >> "Simon" wrote: >> >>> Hi There, >>> >>> Sorry if this is in the wrong discussion group... didnt quite know where it >>> fitted. >>> >>> Is there a way to create a network mount point within the file system? (on >>> Windows 2003 R2 Server) I would like to mount a samba share that we have: >>> >>> //devstaging/websites/www.website.co.nz/htdocs/ >>> >>> to: >>> >>> C:\Inetpub\wwwroot\website\ >>> >>> Coming from a linux sysadmin backgound here :) >>> >>> Thanks >>> >>> Simon -- ß - ëèøü ïåðèëà ìîñòà íà ñòðåìèòåëüíîì ïîòîêå. Äåðæèñü çà ìåíÿ, êòî ìîæåò çà ìåíÿ äåðæàòüñÿ; íî âàøèì êîñòûë¸ì íå ñëóæó ÿ! Zarathustra haudh@putniki.org http://putniki.org
Guest Simon Posted September 4, 2008 Posted September 4, 2008 Re: Network mount point within file system? Hi Michael, Yes - this is what i want todo.. But cant work out how this can be done... Can you please outline the steps here? Thanks Simon "Michael A. Loginov" wrote: > Seems like You'd like to use samba-share as the site folder for IIS site. If > I'm right, You can just tell Your IIS to store specified site content in > Your samba share. > > > On 04.09.08 1:28, in article > 3C834980-50A8-41D6-ACA9-912E9B06E72F@microsoft.com, "Simon" > <Simon@discussions.microsoft.com> wrote: > > > thanks for the reply.. ok. This server is a standalone server running on a > > mixed network. How do i use folder redirection in this case? > > > > "Anteaus" wrote: > > > >> Windows: Not sure. Never seen any way to do this, at least not on servers up > >> to 2003. > >> > >> Linux: Yes, therefore one optoion is to make the Samba share the master and > >> the Windows one the subdirectory. The command you need is: > >> > >> sudo mount -t cifs -o rw,username=user,password=password > >> //windowsserver/sharename /linuxshare/mountpoint > >> > >> > >> Alternatively, if this is a website, you can use folder-redirection on the > >> webserver to integrate the samba share into the webspace. This will not make > >> it a contiguous local share, but it will make it appear seamless to website > >> users. > >> > >> > >> "Simon" wrote: > >> > >>> Hi There, > >>> > >>> Sorry if this is in the wrong discussion group... didnt quite know where it > >>> fitted. > >>> > >>> Is there a way to create a network mount point within the file system? (on > >>> Windows 2003 R2 Server) I would like to mount a samba share that we have: > >>> > >>> //devstaging/websites/www.website.co.nz/htdocs/ > >>> > >>> to: > >>> > >>> C:\Inetpub\wwwroot\website\ > >>> > >>> Coming from a linux sysadmin backgound here :) > >>> > >>> Thanks > >>> > >>> Simon > > -- > Я - лишь перила моста на стремительном потоке. Держись за меня, кто может за > меня держаться; но вашим костылём не служу я! > > Zarathustra > > haudh@putniki.org > http://putniki.org > >
Guest Phillip Windell Posted September 4, 2008 Posted September 4, 2008 Re: Network mount point within file system? "Simon" <Simon@discussions.microsoft.com> wrote in message news:55730947-3159-45A9-8F49-BD7A4FD14ED9@microsoft.com... > Hi Michael, > > Yes - this is what i want todo.. But cant work out how this can be done... > Can you please outline the steps here? >> Seems like You'd like to use samba-share as the site folder for IIS site. >> If >> I'm right, You can just tell Your IIS to store specified site content in >> Your samba share. Not sure, but you may have to duplicate the local "IUSR_<servername>" account from the IIS box onto the Samba box and give it permissions to the file system location. The password for the account is "unknown" and randomly created by the OS,..so you will have to change it to something you know first,...then duplicate it on the Samba box, then give it the correct permissions. This is the account that the "web application" of the IIS Site uses when it accesses files within the site. However in IIS if you create a "new" Application to go with a Site or Virtual Folder or Folder, you can create your own special account just for it and it works on the same principle. -- Phillip Windell http://www.wandtv.com The views expressed, are my own and not those of my employer, or Microsoft, or anyone else associated with me, including my cats. -----------------------------------------------------
Recommended Posts