Re: Run IIS in a domain user context

From: Mark Darbyshire (NO_SPAM_m_darbyshire_at_hotmail.com)
Date: 06/05/04

  • Next message: Paul Lynch: "Re: Run IIS in a domain user context"
    Date: Sat, 5 Jun 2004 13:27:56 +0100
    
    

    Ken,

    Cheers, I really did not want to change the service anyway!!

    This has done the job fine so thanks for your assistance.

    I thought it would be a fairly easy step to move from native VB6 programming
    to this but everything I do I seem to get just another bit to learn......

    Again - thanks,

    Mark.

    "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    news:eAFzBuuSEHA.3332@tk2msftngp13.phx.gbl...
    > Hi,
    >
    > Is this ASP.NET? If so then on IIS v5 either change the <processModel>
    > section of machine.config -or- set <identity impersonate="true"> in
    > web.config. If you set impersonate=true you either need to supply a domain
    > user's credentials -or- use the IIS anonymous user account (which you
    > would
    > need to change to a domain account)
    >
    > If this is IIS 6.0, you need to change the identity of the Web Application
    > Pool that is hosting the application.
    >
    > You *do not* change the logon identity of any of the IIS services. Running
    > any of these services as something other than localsystem is not supported
    > (and you will need to make changes to your system's security policies to
    > get
    > it to work).Neiither ASP.NET nor IIS uses LocalSystem for accessing remote
    > resources. That's determined by the identity that ASP.NET or IIS is
    > impersonating for the request in question.
    >
    > Cheers
    > Ken
    >
    >
    > "Mark Darbyshire" <NO_SPAM_m_darbyshire@hotmail.com> wrote in message
    > news:eXcCiMtSEHA.3016@tk2msftngp13.phx.gbl...
    > : I'm checking services on remote machines so I can present a service
    > status
    > : via a web frontend.
    > :
    > : Basically, I'm using the System.ServiceProcess() collection - connecting
    > to
    > : the local machine it's ok but a remote system fails with authentication
    > : problems. When I say local machine I mean the server that is hosting IIS
    > and
    > : not the connected client.
    > :
    > : I assume the Authentication fail is simply because the page is running
    > : server side in the context of LocalSystem which I assume the web service
    > is
    > : running in.
    > :
    > : Basically if I change the web service on the server to run in a domain
    > user
    > : context and give that domain user the right's to the other 3 servers I
    > want
    > : to monitor then this should work - am I right? Assuming so then which
    > : service should I change the logon context of? Or is there a far batter
    > way
    > : that I'm missing?
    > :
    > : Hope this explains more,
    > :
    > : Thanks,
    > :
    > : Mark
    > :
    > : "Jeff Cochran" <jcochran.nospam@naplesgov.com> wrote in message
    > : news:40d3f5f9.10659006@msnews.microsoft.com...
    > : > On Fri, 4 Jun 2004 22:49:25 +0100, "Mark Darbyshire"
    > : > <NO_SPAM_m_darbyshire@hotmail.com> wrote:
    > : >
    > : >>Anyone know what I have to change to run IIS on W2k server in a domain
    > : >>user
    > : >>context - I basically want to create code that can access various
    > machines
    > : >>and therefore I think a domain context is the right thing to do -
    > might
    > be
    > : >>wrong ????
    > : >
    > : > I would say wrong, but to answer your question, take a look at:
    > : >
    > : > http://support.microsoft.com/default.aspx?scid=kb;en-us;300432
    > : >
    > : > Code can access other systems without having to run IIS as a domain
    > : > account. But you don't mention what code, how or why so there's no
    > : > advice to pass on for this.
    > : >
    > : > Jeff
    > :
    > :
    >
    >


  • Next message: Paul Lynch: "Re: Run IIS in a domain user context"

    Relevant Pages

    • Re: IIS Hosting Webservice which accesses a COM server
      ... I've create a COM server in VFP which I try to access from a Webservice ... If you want to run executables on IIS from a script (i.e. an ASP, ASP.Net, ... well as Web Service Extension for the appropriate Script Engine. ...
      (microsoft.public.inetserver.iis.security)
    • E2K7 SP1 Rollup6 / W2K8 - IIS Error
      ... I just installed a new E2K7 Server in a remote site and I get the following ... Unable to create Internet Information Services (IIS) directory entry. ... local machine name:xxxxxxx ...
      (microsoft.public.exchange.setup)
    • Re: EMC 32-bit on backup-server - Access Denied.
      ... which reside on a Windows Server 2008 O.S. ... First I have to get the backup in place and working. ... Unable to create Internet Information Services (IIS) directory entry. ... local machine name: DS-CLIO ...
      (microsoft.public.exchange.admin)
    • Re: interprocess comms in local network
      ... Server needs to be an application with buttons and menus as it will need to ... I also need to set up permissioning such that only clients that I've ... > ASP.NET provides support for implementing a web service. ... > If IIS was installed when you installed the .NET Framework, ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Webservice Security Header error
      ... What happens if we install this windows-based test application to a machine in client company and they try to call the web service through the internet. ... Will they see the same issue if their desktops' time is off by more than 5 minutes than our server time? ... I've also created a Windows Form application which acts as a client to the webservice. ... Before deploying the webservice it resided on my local machine, I tested it here using the local URL as the web reference. ...
      (microsoft.public.dotnet.framework.webservices.enhancements)