[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.remoting

Using Kerberos to do multi hop pass through authentication to SQL Server

(Giorgio)

7/22/2004 2:08:00 AM

Hi,

I'm having trouble getting pass through authentication working with
.net Remoting. My application is split in the following way
"Presentation Tier -> Business Tier -> Sql Server" where presentation
tier and business tier are different IIS Applications on the same
server (so that eventually it can be scaled to an AppServer) and sql
Server is on a different machine. Both machines are running win2k3 in
an active directory where the application processes have delegation
rights.

Any help on whether this is possible in a multihop scenario would be
greatly appreciated.

My config file in the business tier (which hosts the Remoting objects)
is as follows...

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="debugMode" value="True" />
<add key="conn" value="Server=DBServer;DataBase=Test;UID=drtest;pwd=dr2000"
/>
</appSettings>

<system.runtime.remoting>
<application>
<service>
<wellknown mode="SingleCall" type="BLL.AuthenticationTest, BLL"
objectUri="BLL.AuthenticationTest.rem" />
</service>

<channels>
<channel ref="http" useDefaultCredentials="true" />
<serverProviders securityPackage="kerberos">
<formatter ref="binary" />
</serverProviders>
</channels>
</application>
</system.runtime.remoting>
</configuration>