SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Linked Server Tribulations In SQL Server


Linked Server Tribulations In SQL Server

Author
Message
tmlink99
tmlink99
SSC Rookie
SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)

Group: General Forum Members
Points: 47 Visits: 45
Comments posted to this topic are about the item Linked Server Tribulations In SQL Server
h.tobisch
h.tobisch
SSChasing Mays
SSChasing Mays (658 reputation)SSChasing Mays (658 reputation)SSChasing Mays (658 reputation)SSChasing Mays (658 reputation)SSChasing Mays (658 reputation)SSChasing Mays (658 reputation)SSChasing Mays (658 reputation)SSChasing Mays (658 reputation)

Group: General Forum Members
Points: 658 Visits: 269
Thomas, thanks for article, but, please, what's a Linked Server UI ?
regards Herbert
briankwartler
briankwartler
SSC Eights!
SSC Eights! (891 reputation)SSC Eights! (891 reputation)SSC Eights! (891 reputation)SSC Eights! (891 reputation)SSC Eights! (891 reputation)SSC Eights! (891 reputation)SSC Eights! (891 reputation)SSC Eights! (891 reputation)

Group: General Forum Members
Points: 891 Visits: 714
I believe the Linked Server UI he is referring to is the dialog box you get when you right click on Linked Servers (underneath Server Objects in SQL Server Management Studio) and select New Linked Server.

See http://msdn.microsoft.com/en-us/library/ff772782(v=sql.110).aspx for more information.

Regards
jjturner
jjturner
SSC-Addicted
SSC-Addicted (418 reputation)SSC-Addicted (418 reputation)SSC-Addicted (418 reputation)SSC-Addicted (418 reputation)SSC-Addicted (418 reputation)SSC-Addicted (418 reputation)SSC-Addicted (418 reputation)SSC-Addicted (418 reputation)

Group: General Forum Members
Points: 418 Visits: 577
Linked Server, O Linked Server, wherefore art thou Linked Server? Be some other connection design! Crazy

Nice post Thomas, this is sorely needed information. Thank you!
Orlando Colamatteo
Orlando Colamatteo
SSC Guru
SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)

Group: General Forum Members
Points: 69630 Visits: 14494
Thanks for the article. Can you please clarify how you configured the computer object?

the Trusted for Delegation property was then visible for the SQL service accounts, which I enabled.


Are you setup to "trust to all services" or did you configure constrained delegation? If constrained, then to what services and are you Kerberos only or are you allowing NTLM as well?

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Kevin Eckart
Kevin Eckart
SSC Veteran
SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)

Group: General Forum Members
Points: 241 Visits: 366
For those who haven't already seen this, Microsoft has release the Kerberos Configuration Manager for SQL Server to correct issues with Kerberos and SPN's.

[url=http://www.microsoft.com/en-us/download/details.aspx?id=39046][/url]
Dan Guzman - Not the MVP
Dan Guzman - Not the MVP
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1638 Visits: 756
Thanks for this. Can't wait to see the article on files as linked servers. I have a csv connection that's driving me nuts. It used to work.
TriggerMan
TriggerMan
SSC Veteran
SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)

Group: General Forum Members
Points: 204 Visits: 104
Arrrrggghhh! If only I had this article a few weeks ago. Great job! I do appreciate the detailed trouble-shooting explanations...our whole team does!
tmlink99
tmlink99
SSC Rookie
SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)

Group: General Forum Members
Points: 47 Visits: 45
Thank you for the positive comments. I'm glad my article was helpful. :-)

Herbert, yes, Brian is correct. The UI I'm referring to is the dialog box you see when you add a Linked Server in the Management Studio GUI.

OPC.Three, I used 2 servers for this setup with both using the same dedicated domain account. (This is not necessarily a best practice for production, BTW.) I constrained the account to just being trusted for delegation to the SQL services on each machine. And I allow NTLM. (I have no Kerberos requirement.)

In the account properties dialog, when you choose to constrain to certain services, those running on all servers for which you've registered SPNs should show up automatically.

And the SPN command is all over the web now, but here it is again:

setspn -A MSSQLSvc/server:port|instance acct , and:
setspn -A MSSQLSvc/server.domain.tld:port|instance acct

Both must be issued for domain account Linked Servers, per documentation.

BTW, if your doing this for a clustered server, server must be its virtual name.

- Thomas
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search