Impersonation issues

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Tom Wells (twells_at_les.com)
Date: 02/04/05


Date: Fri, 4 Feb 2005 11:43:08 -0600

My server admin and I are trying to figure out how to get impersonation
working to be able to upload a file from the client browser thru the web
server to a network file server. My network ID for testing is twells. Our
domain for testing is dev.com. If I don't have impersonation set in
web.config the user ID shown by
System.Security.Principal.WindowsIdentity.GetCurrent().Name is
"twells/ASPNET" which does not exist on our network. If I set <identity
impersonate="true"/> in web.config the the user ID is "twells_IUSR1" which
also does not exist on our network. If I set <identity impersonate="true"
UserName="twells" Password="MyDevPass5"/> (MyDevPass5 is my dev password) I
get a web.config syntax error. I've tried several variations on "twells"
such as "twells/dev.com" or "twells\dev.com" or "dev.com/twells" or
"dev.com\twells", but I get the same error. Om MSDN I can't find anything
useful that explains why this is happening or how to fix it.

Any help is greatly appreciated.
Thanks!
Tom



Relevant Pages

  • Impersonation question
    ... I am trying to get a better understanding of how impersonation works and I ... I have read that one can't access resources on network shares while ... provide enough credentials to the remote server to allow the remote server ...
    (microsoft.public.security)
  • Re: no Access to Client-Files with impersonate=true
    ... > credentials to ... when server has to access a network share for example. ... > impersonation, when accessing network shares. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Fully parallel Scheme-based language w/ evaluator
    ... Windows Server 2003 and networks in simple - and irreverent - terms. ... If networking really is a big deal, ... Concepts and Terminology in Part I, and The Design and Deployment of Network ...
    (comp.lang.misc)
  • Re: Outgoing POP3 email missing/lost/not received
    ... Funny thing is that I have had this ISP for 8 years and it has always been ... It looks like when you last ran CEICW, you set the ISP's mail server to: ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)
  • Re: Logon Server Unavailable
    ... There are currently no logon servers available to service ... You use a office laptop to connect the office VPN, when you map a network ... you may receive this message: "This account is the ... The server is not configured for transactions"> "A domain controller for your domain could not be contacted" ...
    (microsoft.public.windows.server.dns)