J
jwgoerlich@gmail.com
Hello group,
I have two SQL database servers. The first is SQL 2000, default
instance, hosted on Windows 2000 Server. The second is SQL 2005, named
instance, hosted on Windows 2003 Enterprise Server.
The DBAs manage the SQL servers from their client computers. Clients
and servers are in one AD Domain. The DBAs use Windows integrated
authentication to connect.
On the SQL 2000 server, I have created a linked server entry to point
to the SQL 2005 server. I did this with the following commands:
EXEC sp_addlinkedserver @server='2005server\instance',
@srvproduct='',
@provider='SQLOLEDB',
@datasrc='2005server\instance',
@catalog = 'master',
@provstr="Integrated Security=SSPI"
EXEC sp_addlinkedsrvlogin '2005server\instance', 'true'
This link works if a query is executed from the server console. When
Query Analyzer is run from the DBA's computers, however,
authentication fails. The same user account is used both on the server
console and on the client.
The error is:
Server: Msg 18456, Level 14, State 1, Line 1
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
What steps should I take to successfully link the two SQL servers and
use integrated authentication?
J Wolfgang Goerlich
I have two SQL database servers. The first is SQL 2000, default
instance, hosted on Windows 2000 Server. The second is SQL 2005, named
instance, hosted on Windows 2003 Enterprise Server.
The DBAs manage the SQL servers from their client computers. Clients
and servers are in one AD Domain. The DBAs use Windows integrated
authentication to connect.
On the SQL 2000 server, I have created a linked server entry to point
to the SQL 2005 server. I did this with the following commands:
EXEC sp_addlinkedserver @server='2005server\instance',
@srvproduct='',
@provider='SQLOLEDB',
@datasrc='2005server\instance',
@catalog = 'master',
@provstr="Integrated Security=SSPI"
EXEC sp_addlinkedsrvlogin '2005server\instance', 'true'
This link works if a query is executed from the server console. When
Query Analyzer is run from the DBA's computers, however,
authentication fails. The same user account is used both on the server
console and on the client.
The error is:
Server: Msg 18456, Level 14, State 1, Line 1
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
What steps should I take to successfully link the two SQL servers and
use integrated authentication?
J Wolfgang Goerlich