January 16, 2015 at 11:20 am
I have db_DataReader role in server 2, I am admin of Server 1, I want to create a linked server to 2 from 1, I specify to use login's current security context, however, it returns me error saying failed for user 'NT Authority\Anonymous Logon', why my login is not picked up? Thanks
January 16, 2015 at 11:24 am
to use "be made with the logins security context", the user must be a user on the domain.
if the user was a SQL user, an anonymous connection is made, which of course fails.
if you need the SQLUser "bob" to use the equivilent "bob" on the other server, or some other specific user that is different,you need to map it explicitly:
Lowell
January 16, 2015 at 12:18 pm
Lowell (1/16/2015)
to use "be made with the logins security context", the user must be a user on the domain.if the user was a SQL user, an anonymous connection is made, which of course fails.
if you need the SQLUser "bob" to use the equivilent "bob" on the other server, or some other specific user that is different,you need to map it explicitly:
Thanks for the reply, I am a domain user and using windows authentication, that's why I don't understand here, I also verified my user id by suser_sname()
January 16, 2015 at 12:34 pm
You are running into the two hop problem.
This is why most linked server connections use a SQL auth login.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply