Unauthorized request while testing impersonation

Unauthorized request while testing impersonation

am 21.09.2007 17:48:04 von shashi

Hi there,

I am testing impersonation in IIS 6.0 and server is returning 401. Let me
explain the situation.

https://my.server.com is the URL and have a virtual (test) that uses
integrated windows authentication. The "test" app creates a instance of
assembly from GAC and invokes a method to call web service that is physically
located in "test" app.
Before calling the web service, I impersonate the request with a domain
level account to execute the getresponse from the web service.

Credential are set properly but IIS still cannot proceed further. Any ideas?

Re: Unauthorized request while testing impersonation

am 22.09.2007 09:00:50 von David Wang

On Sep 21, 8:48 am, Shashi wrote:
> Hi there,
>
> I am testing impersonation in IIS 6.0 and server is returning 401. Let me
> explain the situation.
>
> https://my.server.comis the URL and have a virtual (test) that uses
> integrated windows authentication. The "test" app creates a instance of
> assembly from GAC and invokes a method to call web service that is physically
> located in "test" app.
> Before calling the web service, I impersonate the request with a domain
> level account to execute the getresponse from the web service.
>
> Credential are set properly but IIS still cannot proceed further. Any ideas?



Please check the IIS log file to see clues on what you are doing
wrong.

Prove that you can actually impersonate in that manner with your
authentication protocol. IIS is just telling you nope, so prove that
you are supposed to succeed.

How are you sure that you even sent an authenticated request?


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//