October 27, 2008 at 11:37 am
I have 2 boxes, and the sa password on both is different. I have a job running on Box 1 connecting to Box 2 using an sa account (on Box1). How does the authentication process work, since the passwords are different?
October 27, 2008 at 12:20 pm
The job must be connecting to Box2 via a Linked Server which maps the SA login on Box1 to the SA login on Box2 with the password for the Box2 SA login.
Look in SSMS on Box1 under Server Objects, Linked Servers to see the Linked Server.
Greg
October 27, 2008 at 1:53 pm
nope, there are no linked servers at all.
October 27, 2008 at 3:00 pm
What user account is running SQL Server Agent?
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 27, 2008 at 3:25 pm
it's an NT domain account
October 27, 2008 at 3:37 pm
That is probably your answer - the domain account has privileges on both servers and the job is running under the domain account not the 'sa' account.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 27, 2008 at 4:55 pm
That's just the thing, the owner of the job is sa, and it's running under sa sql account. It would make sense if it was running under the domain login, but it's not the case.
October 27, 2008 at 5:00 pm
Jobs run under the SQL Server Agent process, which is running under the domain account. Just because the job is owned by 'sa' does not mean it is actually running as the 'sa' account.
When you say the job is running on both systems - how exactly are you running something on the other system? You have already stated that you are not using linked servers, so - what is the command that is running on the other box?
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply