?
Solved

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

Posted on 2004-09-08
2
Medium Priority
?
745 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

752 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