Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

sa account authentication Expand / Collapse
Author
Message
Posted Monday, October 27, 2008 11:36 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, August 13, 2014 7:19 PM
Points: 53, Visits: 230

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?
Post #592300
Posted Monday, October 27, 2008 12:20 PM
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Yesterday @ 9:17 AM
Points: 4,065, Visits: 5,316
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
Post #592336
Posted Monday, October 27, 2008 1:53 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, August 13, 2014 7:19 PM
Points: 53, Visits: 230
nope, there are no linked servers at all.
Post #592404
Posted Monday, October 27, 2008 3:00 PM
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Yesterday @ 7:26 AM
Points: 4,390, Visits: 9,536
What user account is running SQL Server Agent?

Jeffrey Williams
Problems are opportunites brilliantly disguised as insurmountable obstacles.

How to post questions to get better answers faster
Managing Transaction Logs
Post #592462
Posted Monday, October 27, 2008 3:25 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, August 13, 2014 7:19 PM
Points: 53, Visits: 230
it's an NT domain account
Post #592480
Posted Monday, October 27, 2008 3:37 PM
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Yesterday @ 7:26 AM
Points: 4,390, Visits: 9,536
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
Problems are opportunites brilliantly disguised as insurmountable obstacles.

How to post questions to get better answers faster
Managing Transaction Logs
Post #592494
Posted Monday, October 27, 2008 4:55 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, August 13, 2014 7:19 PM
Points: 53, Visits: 230
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.
Post #592535
Posted Monday, October 27, 2008 5:00 PM
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Yesterday @ 7:26 AM
Points: 4,390, Visits: 9,536
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
Problems are opportunites brilliantly disguised as insurmountable obstacles.

How to post questions to get better answers faster
Managing Transaction Logs
Post #592537
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse