I'm using .NET 2.0 and have a remoted class hosted in IIS 6 that is
attempting to access a DCOM'd object running on a Windows Server 2003 SP1
machine.
Windows Integrated authentication is enabled in IIS and I have verified that
Kerberos is enabled and working. Additionally, I have verified that the
remoted class is running under the impersonated client account. Also, from
the .NET class, I am able to access a file on a remote file share and the
file is accessed with the impersonated account.
I would like to be able to have the impersonated credentials flow to the COM
object when it is accessed on the remote server (via DCOM). I have tried
various settings in the processModel section of the machine.config file and
have not had any luck. The COM object runs under the logged on account of the
remote server.
Is there any way to get delegation to work when calling a COM object via
DCOM from a remoted .NET class running under IIS?
Jeremy - 21 Feb 2006 16:59 GMT
One item I didn't mention in my original post is that the impersonated
credentials flow properly if I use the default credentials (setting the
useDefaultCredentials property to True on the channel). If I supply my own
credentials then they do not flow to the COM object. For my application I am
wanting to be able to supply my own credentials.