October 9, 2024 at 12:12 pm
Hello, I have a problem and i don´t understand it.
After to link a server, i execute
delete top(1) from LinkedServer.MyDB.dbo.MyTable
From mananger works fine but from a agent's job fails with error 18452 "The login failed. The login is from an untrusted domain and cannot be used with Integrated Authentication."
I don't know why with the job fails.
Thanks for all.
October 9, 2024 at 12:32 pm
How did you define the security to be followed when using this linked server ?
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
October 9, 2024 at 2:54 pm
Hello, i was using
exec sp_addlinkedserver @server ='RemoteServer'
exec sp_addlinkedsrvlogin @rmtsrvname = 'RemoteServer',@useself = 'false',@locallogin = 'MyLogin',@rmtuser = 'rmtuser',@rmtpassword = 'rmtpass'
and that failed because i didn´t have the same configuration that you in security of Properties Linked Server.
I changed the configuration like the image and it works fine.
Thank you for all.
October 10, 2024 at 5:36 am
Keep in mind, everybody that can use the linked server, will have the authority of the given "rmtuser" !
That's the reason I only allow read-only accounts to be used in that context.
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy