Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Linked server using Windows Auth across untrusted domains

 
   Database Forums (Home) -> Security RSS
Next:  Simple yet very frustrating filter issue...  
Author Message
realizer2000

External


Since: Dec 08, 2009
Posts: 1



(Msg. 1) Posted: Tue Dec 08, 2009 9:49 am
Post subject: Linked server using Windows Auth across untrusted domains
Archived from groups: microsoft>public>sqlserver>security (more info?)

Hi,

I have a SQL 2000 server in domain1, and need to create a linked server to a
SQL 2008 in domain2 using windows auth. The domain admins do not want to
setup a trust between the two domains. They gave me an AD account in domain2
to connect with. Is there a way to setup the linked server using current
windows auth, and tell the domain controller for domain2 that anything coming
from the domain1\MSSQLServer service account should connect to
domain2\someacct that I was given?

Thanks,

 >> Stay informed about: Linked server using Windows Auth across untrusted domains 
Back to top
Login to vote
Erland Sommarskog2

External


Since: May 30, 2004
Posts: 1649



(Msg. 2) Posted: Tue Dec 08, 2009 6:25 pm
Post subject: Re: Linked server using Windows Auth across untrusted domains [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

realizer2000 (realizer2000@discussions.microsoft.com) writes:
> I have a SQL 2000 server in domain1, and need to create a linked server
> to a SQL 2008 in domain2 using windows auth. The domain admins do not
> want to setup a trust between the two domains. They gave me an AD
> account in domain2 to connect with. Is there a way to setup the linked
> server using current windows auth, and tell the domain controller for
> domain2 that anything coming from the domain1\MSSQLServer service
> account should connect to domain2\someacct that I was given?

No. The only way to log with Windows authentication in SQL Server, is
to first be logged into Windows with that account.

You would need an SQL login on the remote server to map your user to.
(This you can do with sp_addlinkedsrvlogin.)


--
Erland Sommarskog, SQL Server MVP, esquel.DeleteThis@sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 >> Stay informed about: Linked server using Windows Auth across untrusted domains 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Windows authenication and linked servers - 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...

Distributed Query Using NT Auth -

Using trusted database connection across domains - I have asked this before; however, I never got a response. Before I start using crypto (e.g. blowfish) to encrypt my connection strings in web.config I would like to know that it is necessary. I feel that it should not be necessary. I have an ASP.NET...

linked server from sql 2000 to sql 2005 - Hi all, I'm trying to set up a linked server from a SQL Server 2000 (SQLSource) to a SQL Server 2005 (SQLDest), but when I try to launch a query from my computer to the SQLSource and it access the SQLDest, I get the "Error 18456: Login failed...

Linked SQL Server - Trying to link 2 servers via: SELECT * from OPENROWSET('SQLOLEDB','Server=SERVER;uid=uid;pwd=pwd; Trusted_Connection=yes;', 'SELECT * FROM Web_Configurator.dbo.MC_WS_Countries') -or- select * from krusty.Web_Configurator.dbo.MC_WS_Countries Keep..
   Database Forums (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]