AnsweredAssumed Answered

IIS Impersonation

Question asked by PJANIN on Aug 8, 2018
Latest reply on Aug 8, 2018 by Marcos Vainer Loeff


We try to make a simple web page to check if impersonation works on IIS (Windows server 2008 R2).

We are able to see the identity adding log information in our page (result below).

But it seems PISDK do not use the impersonation user.


Any Idea of what is wrong ?


Before Impersonation ...

currentWindowsIdentity Name : IIS APPPOOL\DefaultAppPool

currentWindowsIdentity AuthenticationType : Negotiate

currentWindowsIdentity ImpersonationLevel : None

Inside Main ...

currentWindowsIdentity Name : EUA\PJANIN

currentWindowsIdentity AuthenticationType : NTLM

currentWindowsIdentity ImpersonationLevel : Impersonation


Finding server...

Server is xxxxxxxxxxxxxxxxxxxxx

Opening connection...

Unable to open a session on a server. [-10431] Authentication method is disabled by current server policy