Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / March 2006

Tip: Looking for answers? Try searching our database.

Windows authenication and linked servers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jaylou - 23 Mar 2006 17:26 GMT
Is there a way to link servers together using windows authentication when you
are not logged into the server?  I would like to run queries between servers
from a local server.

I am logged on serv1 as myself with win auth.  I am "SA" on all 3
I want to run a query:
select a.id, b.name from serv2.dbname.dbo.tblname a inner join
serv3.dbname.dbo.tblname b
on a... = b....

Since my ID is using win auth, the servers wont link from the third.  
Is there a way around this?  I can log onto serv2 and link to serv3 using
win auth, but only when I am on the actual box.

TIA,
Joe
Donna W - 23 Mar 2006 23:46 GMT
Hey -
What you have is a classic 'double hop' situation.
Client ---> ServerA ---> ServerB

http://support.microsoft.com/kb/319723/en-us

Also try searching on  sql double hop...there's a webcast out there as well.
Donna

> Is there a way to link servers together using windows authentication when you
> are not logged into the server?  I would like to run queries between servers
[quoted text clipped - 12 lines]
> TIA,
> Joe
jaylou - 27 Mar 2006 16:58 GMT
Thank you Donna,
I will check out the article you sent.  I didnt relize this would be so
complex to solve.

Thanks,
Joe

> Hey -
> What you have is a classic 'double hop' situation.
[quoted text clipped - 21 lines]
> > TIA,
> > Joe
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.