Remoting Impersonation/Delegation problem

Hi,
I am working on a n-tier app using remoting. I am using the VS 2005 beta
2. My server needs to access a remote resources on behalf on the connected
user.

I have configured my server like :
<channel ref="tcp" secure="true" port="8081" impersonate="true">

and my client:
<channel ref="tcp" port="0" secure="true"
tokenImpersonationLevel="Delegation">

I start my server in the context of UserA on one machine and the client
app on another using UserB. When I trace I can see that the context is
properly passed to the server application:
WindowsIdentity currentUser = WindowsIdentity.GetCurrent();
this return a WindowsIdentity for UserB, but the
currentUser.ImpersonationLevel is always 'Impersonation'? I cannot get a
delegation token!!!!

I have made sure that UserB is configured in AD to handle Delegation. I
must be missing something!!!!!

Is there some privileges that I need to activate on my server?

Any ideas would be welcome!

Best regards

[1041 byte] By [MartinPar] at [2008-2-8]
# 1
Could you post a small repro?
douglasp at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Remoting and Runtime Serialization...
# 2
Yes,
I have a small program to re-produce it, how do I send it?

Thank you!

MartinPar at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Remoting and Runtime Serialization...
# 3
Hi,
I have reduce my problem to its smiplest form. It is still 2 solutions and 3 projects. It is only 22 kb once zipped.

How do I send it?

Thank you!

Martin

MartinPar at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Remoting and Runtime Serialization...
# 4
You can send it to douglasp@microsoft.com.
douglasp at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Remoting and Runtime Serialization...

.NET Development

Site Classified