473,324 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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

Nov 17 '05 #1
2 1740
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Thomas | last post by:
Hi all! I have an asp.net web application that is configured for dynamic impersonation via web.config (identity impersonate=true). The corresponding virtual directory is protected by integrated...
1
by: Mark | last post by:
Assume: IIS 6.0 and SQL Server 2000 are running on two separate windows 2003 servers on the same LAN and windows domain using Active Directory. All client connections using IE 6.0+ are on the...
3
by: Wm. Scott Miller | last post by:
What is the difference between using a username and password in the processmodel section vs using one in impersonation in the machine.config file? What are the advantages of each and what are the...
15
by: Ron L | last post by:
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying...
5
by: LGHummel | last post by:
I'm trying to host a remoting app in IIS and am getting the following error: Failed to execute the request because the ASP.NET process identity does not have read permissions to the global...
26
by: andrew_webby at hotmail | last post by:
Hi Am having a problem with an app I wrote to test patch delivery. I contact a remote PC, and get it to run a patch which is installed on a server. It works fine if I use psexec for example and...
0
by: Aconquija | last post by:
Hello, I am battling a long term problem regarding integrated authentication and impersonation. I have an intranet that uses only integrated authentication to validate my users. The web site is...
1
by: Steve | last post by:
I have a client/server application and I'm trying to get the server to impersonate the client with a delegation token. In my test on Active Directory, I have two users, the server user and the...
3
by: Patrick | last post by:
Hello I have the following scenario - SQL 2005 server (serversql) - Windows 2003 with IIS (serveriis) - Windows 2003 ADS (serverads) I want to connect to an intranet application using NTML...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.