Impersonation Issues. ASP.NET Webform works only on Local Machine

G

Guest

I have a problem.

I have a webform, which uses impersonation. My iis is set to windows
integrated authentication and anonymous is disabled.

My webform connects to active directory and retrieves user information. This
webform works great on the local machine. But if i run it from a remote
machine, it has trouble connecting to AD. I've down some searching and it has
to do with the impersonation. I use impersonation to authenticate myself to
AD.

Even if use "Run As..." and use the administrator account in AD, to connect
remotely to the computer that is running the webform, i have the same problem.

How can i get around this? I don't want to use forms authentication. Please
help.
 
J

Jim Cheshire

Rocky said:
My webform connects to active directory and retrieves user
information. This webform works great on the local machine. But if i
run it from a remote machine, it has trouble connecting to AD. I've
down some searching and it has to do with the impersonation. I use
impersonation to authenticate myself to AD.

Hi Rocky,

The reason why this happens is likely because you are using NTLM
authentication. NTLM authentication will not work in a delegation scenario.
You'll need to use Kerberos authentication.

810572 How to configure an ASP.NET application for a delegation scenario
http://support.microsoft.com/default.aspx?scid=kb;EN-US;810572
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top