Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-09-08
2
Medium Priority
?
756 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Ready to get certified? Check out some courses that help you prepare for third-party exams.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

610 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