Delegation problem in FW 2.0
- From: "Alex Ivanov" <Alex Ivanov@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 14 Dec 2005 00:03:02 -0800
Delegation not work in 3-tier application.
My configuration:
Client: windows app. "Account is sensitive and cannot be delegated" is not
selected for user.
Middle tier: windows service (log on as local system).
Server: SQL Server (log on as local system).
All computers has "Trust this computer for delegation to any service (for
Kerberos only)" selected in AD.
Impersonation on Middle tier is work, but SQL Server say "Login failed for
user '(null)'".
My server config:
<system.runtime.remoting>
<customErrors mode="off"/>
<application>
<service>
<wellknown mode="SingleCall" type="ServerObject.Obj, ServerObject"
objectUri="Service.rem" />
</service>
<channels>
<channel ref="tcp" port="9005" name="TCPSSPI" secure="true"
authenticationMode="ImpersonateCallers" impersonate="true">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
My client config:
<system.runtime.remoting>
<application name="Sherp.Net">
<client>
<wellknown type="ServerObject.Obj, ServerObject"
url="tcp://ivanov-an:9005/Service.rem" />
</client>
<channels>
<channel ref="tcp" port="0" name="TCPSSPI" secure="true"
impersonationLevel="Impersonate" tokenImpersonationLevel="Impersonation">
<clientProviders>
<formatter ref="binary" />
</clientProviders>
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
I try impersonationLevel "Impersonate" and "Delegate",
tokenImpersonationLevel "Impersonation" and "Delegation", authenticationMode
"ImpersonateCallers" and "DelegateCallers" and any combination.
Work delegation in .Net Remoting?
P.S. Delegating with configuration IE - Web Service - SQL Server on same
computers is work.
.
- Follow-Ups:
- Re: Delegation problem in FW 2.0
- From: ton . steijvers
- Re: Delegation problem in FW 2.0
- Prev by Date: Error with web user
- Next by Date: Is object remote activated
- Previous by thread: Error with web user
- Next by thread: Re: Delegation problem in FW 2.0
- Index(es):
Relevant Pages
|