Re: windows authentication problem

From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 09/23/05


Date: Fri, 23 Sep 2005 03:55:24 -0700

Hello Filip,

classical double hop problem.

check this:
http://msdn.microsoft.com/msdnmag/issues/05/09/SecurityBriefs/default.aspx

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

> Hi everyone,
>
> I've got the following error:
> Login failed for user '(null)'. Reason: Not associated with a trusted
> SQL
> Server connection.
> In my webconfig file I use:
> <authentication mode="Windows"/>
> <identity impersonate="true"/>
> My connectionstring is:
> data source=SAN-SRV4; initial catalog=LessiusData; Integrated
> Security=SSPI;
> And when I check my login it is lessius\filip.debacker So that is
> correct
>
> I check it with
> System.Security.Principal.WindowsIdentity.GetCurrent().Name;
> So what do you think the problem is?
>
> thanks!
>
> Filip
>