Hi
The notation is a bit confusing!!!
Check out sp_droplinkedsrvlogin in Books Online to drop them, and
sp_helplinkedsrvlogin to show them.
From sp_addlinkedsrvlogin in BOL:
Rather than having to use sp_addlinkedsrvlogin to create a predetermined
login mapping, SQL Server can automatically use the Windows NT security
credentials (Windows NT username and password) of a user issuing the query
to connect to a linked server when all these conditions exist:
a.. A user is connected to SQL Server using Windows Authentication Mode.
b.. Security account delegation is available on the client and sending
server.
c.. The provider supports Windows Authentication Mode (for example, SQL
Server running on Windows NT).
John
> Hi John
>
[quoted text clipped - 36 lines]
>>>
>>>Justin
Justin - 27 Dec 2005 16:32 GMT
Hi John
thanks for the hint, though by dropping the linkedsrvlogin did not help
in my case, I did managed to get around by manually addremotelogin and
addlinkedsrvlogin and do some user mapping in them.
now it works, so it seems to be the problem with addlinkedsrvlogin or
maybe one of the three condition was not met, I suspect the condition b
could be the cause, but I am not sure how to verify it. I figure it
could very much to do with some security related setting/policy in my
win2k3.
thanks very much again.
at least now I get something working.
Cheers
Justin
> Hi
>
[quoted text clipped - 56 lines]
>>>>
>>>>Justin
John Bell - 27 Dec 2005 17:46 GMT
Hi Justin
If both servers and the logins are on the same domain then B should be ok!
It sounds like the accounts did not have logins on both servers?
John
> Hi John
>
[quoted text clipped - 74 lines]
>>>>>
>>>>>Justin
Justin - 28 Dec 2005 03:33 GMT
Interestingly, they are using the same domain login account.
so I suspect it is to do with the w2k3 setup etc.
Justin
> Hi Justin
>
[quoted text clipped - 82 lines]
>>>>>>
>>>>>>Justin