By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,710 Members | 1,134 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,710 IT Pros & Developers. It's quick & easy.

Remoting Impersonation/Delegation problem

P: n/a
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

Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi

Since VS.NET 2005 hasn't been released yet, for VS 2005 remoting issues,
please try to post in the following forum.

http://forums.microsoft.com/msdn/Sho...spx?ForumID=41

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 17 '05 #2

P: n/a
Thank's.. will do!
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:Ja*************@TK2MSFTNGXA01.phx.gbl...
Hi

Since VS.NET 2005 hasn't been released yet, for VS 2005 remoting issues,
please try to post in the following forum.

http://forums.microsoft.com/msdn/Sho...spx?ForumID=41

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.