Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Linked Server Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

Posted on 2004-09-08
2
Medium Priority
?
765 Views
Last Modified: 2007-12-19
I set up a linked server to a server named "DB6" on a domain I will call "DOMAIN2". I created the linked server and have tried every permutation of security context I can think of but keep getting "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'" when I try to view the tables.

I was able to link back to my source server which I will call "DB1" (which is in a different domain).

My latest try:  set password on sa, used sa and password to connect to linked server.

Authentication on both machines is Windows And SQL Server.

I suspect domain-related issues are behind this but I am not sure what to ask my System Admin. I asked him to allow anonymous logins but he said he will not do that.

Thanks
0
Comment
Question by:AaronAbend
2 Comments
 
LVL 5

Accepted Solution

by:
perezjos earned 2000 total points
ID: 12039389
Hello,


1) Define a trust relationship whereby the domain containing the SQL Server "trusts" the domain which contains the users (and vica-versa "is trusted by"...) This will allow you to "see" the accounts in Domain A in your User Manager.

2) Create a local group on the SQL Server in question. This will be the receptacle of the trusted domain accounts you need to provide access for.

3) Using SQL Server Security Manager, give the newly-created local group rights to the database(s) you wish them to access. Be sure to automatically create SQl Logins for them using the check box!!!

4) In SQL Enterprise Manager, set the permissions on the object(s) so that the user(s) in question can Select, Update, etc... as necessary.

Jose

5) These users will now be able to use SQL Server tables through any means (ODBC, DB-LIB, etc...)
0
 
LVL 10

Author Comment

by:AaronAbend
ID: 12040397
I am not sure if this will work, but it is the only response I have received and it is quite detailed. Thanks. I will try this and see if it works. In the meantime, I worked around the problem.  

0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question