all groups > dotnet security > september 2005 >
You're in the

dotnet security

group:

windows authentication problem


windows authentication problem Filip De Backer
9/23/2005 12:55:02 AM
dotnet security:
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!

Re: windows authentication problem Dominick Baier [DevelopMentor]
9/23/2005 3:55:24 AM
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

[quoted text, click to view]

Re: windows authentication problem synsoft
9/26/2005 12:00:00 AM
Try Windows and SQL Authentication in the SQL Server

[quoted text, click to view]

Re: windows authentication problem synsoft
9/26/2005 12:00:00 AM
Try Windows and SQL Authentication in the SQL Server

[quoted text, click to view]


AddThis Social Bookmark Button