Solved

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

Posted on 2004-09-08
2
718 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 500 total points
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now