Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Drive Mapping in IIS 6.0

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  IIS Certificate Wizard Problem  
Author Message
user1480

External


Since: Mar 05, 2004
Posts: 1



(Msg. 1) Posted: Fri Mar 05, 2004 5:52 pm
Post subject: Drive Mapping in IIS 6.0
Archived from groups: microsoft>public>inetserver>iis (more info?)

Can anyone tell me how drive mappings work for COM objects run within
IIS 5.0 vs. 6.0. We have a COM application that requires drive
mappings rather than UNC paths. It impersonates a user with rights to
update files on another machine using the drive mapping.

On Windows 2000 with IIS 5.0 we set up the drive mapping through a
user that was logged in on the web server. The COM, though
impersonating a different user, could still see this drive mapping. In
our new setup under Windows 2003 server with IIS 6.0, the drive
mapping is no longer visible.

Example:
 > User A is logged into the web server and has Drive "G:" mapped to a share on another machine
 > Our COM object uses impersonation to logon User B
 > Under IIS 5.0 / Win2000, User B can see files on "G:"
 > Under IIS 6.0 / Win2003, User B cannot see files on "G:"

Does anyone know if this is a new behavior or if there may be a
default setting changed that controls this... or if this is controlled
by IIS at all.

Thanks, Dan<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Drive Mapping in IIS 6.0 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 2) Posted: Mon Mar 08, 2004 12:13 pm
Post subject: Re: Drive Mapping in IIS 6.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Dan Andrade" <dan.andrade RemoveThis @accpac.com> wrote in message
news:f7f12c9a.0403051452.4124ace4@posting.google.com...
 > Can anyone tell me how drive mappings work for COM objects run within
 > IIS 5.0 vs. 6.0. We have a COM application that requires drive
 > mappings rather than UNC paths. It impersonates a user with rights to
 > update files on another machine using the drive mapping.
 >
 > On Windows 2000 with IIS 5.0 we set up the drive mapping through a
 > user that was logged in on the web server. The COM, though
 > impersonating a different user, could still see this drive mapping. In
 > our new setup under Windows 2003 server with IIS 6.0, the drive
 > mapping is no longer visible.
 >
 > Example:
  > > User A is logged into the web server and has Drive "G:" mapped to a
share on another machine
  > > Our COM object uses impersonation to logon User B
  > > Under IIS 5.0 / Win2000, User B can see files on "G:"
  > > Under IIS 6.0 / Win2003, User B cannot see files on "G:"
 >
 > Does anyone know if this is a new behavior or if there may be a
 > default setting changed that controls this... or if this is controlled
 > by IIS at all.

If User B needs the mapped drives, why would you map them for User A? This
may help:
<a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;257174" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;257174</a>

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Drive Mapping in IIS 6.0 
Back to top
Login to vote
user1488

External


Since: Mar 08, 2004
Posts: 1



(Msg. 3) Posted: Mon Mar 08, 2004 1:35 pm
Post subject: Re: Drive Mapping in IIS 6.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Tom.

We are currently using the user physically logged into the
server (User A here) to provide the mapping so that we can
avoid mapping the drive on the fly through the COM object
(which is impersonating User B). This works for us on Win
2000.

As our COM is written in VFP, it is difficult to create
the parameters for WNetAddConnection2() and we have had
trouble mapping drives with WNetAddConnection() under Win
2003.

We would love to use UNC paths but the rework to the
legacy code would be significant. It looks like we may
need to bite the bullet here and do the conversion anyway.

Thanks for your help, Dan


 >-----Original Message-----
 >"Dan Andrade" <dan.andrade.TakeThisOut@accpac.com> wrote in message
 >news:f7f12c9a.0403051452.4124ace4@posting.google.com...
  >> Can anyone tell me how drive mappings work for COM
objects run within
  >> IIS 5.0 vs. 6.0. We have a COM application that
requires drive
  >> mappings rather than UNC paths. It impersonates a user
with rights to
  >> update files on another machine using the drive mapping.
  >>
  >> On Windows 2000 with IIS 5.0 we set up the drive
mapping through a
  >> user that was logged in on the web server. The COM,
though
  >> impersonating a different user, could still see this
drive mapping. In
  >> our new setup under Windows 2003 server with IIS 6.0,
the drive
  >> mapping is no longer visible.
  >>
  >> Example:
   >> > User A is logged into the web server and has
Drive "G:" mapped to a
 >share on another machine
   >> > Our COM object uses impersonation to logon User B
   >> > Under IIS 5.0 / Win2000, User B can see files on "G:"
   >> > Under IIS 6.0 / Win2003, User B cannot see files
on "G:"
  >>
  >> Does anyone know if this is a new behavior or if there
may be a
  >> default setting changed that controls this... or if
this is controlled
  >> by IIS at all.
 >
 >If User B needs the mapped drives, why would you map them
for User A? This
 >may help:
 >http://support.microsoft.com/default.aspx?scid=kb;en-
us;257174
 >
 >--
 >Tom Kaminski IIS MVP
 >http://www.iistoolshed.com/ - tools, scripts, and
utilities for running IIS
 >http://mvp.support.microsoft.com/
 >http://www.microsoft.com/windowsserver2003/community/cente
rs/iis/
 >
 >
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Drive Mapping in IIS 6.0 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Network Drive mapping - Boas, Tenho um problema que me esta a ocupar ha ja algum tempo, encontrei documentacao, testei o ambiente, mas nao funciona, e eh o seuinte: -Tenho um servidor (A) W2K-sp4,etc, a funcionar como Webserver + FPextensions. -Tenho um outro servidor (B)..

OWA IIS on D Drive? - I am planning my Exchange 2003 upgrade (new hardware as well) and I was wondering if I could get the IIS for OWA to reside on a data drive instead of the default system C drive. Is this possible? I have long heard IIS is much better off on a data drive. ...

Dynamically mapping a URL - Is there any way in IIS/ASP.NET to dynamically map a URL to a class? Basically I have code (implements IHttpHandler) in the GAC that I want to handle certain URLs, but I want the mapping to be done at runtime, rather than putting it in the config file or...

Wildcard Mapping bug in XP? - Hi, Not sure whether this is a known problem, but I stumbled upon a problem with wildcard mappings in IIS (on Windows XP) If you add a wildcard mapping to a Virtual Directory that has a period (.) in the name, the mapping seems to prevent IIS from..

Network mapping - Hi Folks, i need to map an IIS Virtual Directory on a mapped network drive. the matter is i can map it from the Internet Services Manager but if i specify the mapped drive (i.e. Z:\) i cannot access it by IE (and the IIS Manager shows the error icon) and...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]