Solved

Credentials that created maintenance plans in Studio Management

Posted on 2015-01-15
5
75 Views
Last Modified: 2015-01-20
Question-
I had all the maintenance plans fail that were created by a different user through the MSSQL studio interface.  the backup piece of the maintenance plans go to a network share.
if someone logs into studio with their windows credentials to create a maintenance plan, is that the credentials the sql server uses for 1) to fire off the maintenance plan and 2) if the destination for a backup is on a network share, does it use those same credentials for network access to the share?

same question if someone uses the SA account to login to studio......  what then is used for network access to shares to place the backup files if the maintenance plan was created by the SA account
0
Comment
Question by:jamesmetcalf74
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 50

Accepted Solution

by:
Vitor Montalvão earned 334 total points
ID: 40551331
I had all the maintenance plans fail that were created by a different user through the MSSQL studio interface.  
The default owner of the jobs from a maintenance plan is the user that created it so you always need to remember to change the jobs owner after creating a maintenance plan.

same question if someone uses the SA account to login to studio......  what then is used for network access to shares to place the backup files if the maintenance plan was created by the SA account
The SQL Server service account.
0
 

Author Comment

by:jamesmetcalf74
ID: 40551335
is there a way to look at a maintenance plan and see who the creator was/is?
0
 

Author Comment

by:jamesmetcalf74
ID: 40551351
also-
the about the sa account.  the service account is a local account correct?  so how does active directory authenticate the service account to allow it to network resources.  if I have two sql servers/instances... is the sa account service account the same in active directory's eyes?
0
 
LVL 50

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 334 total points
ID: 40551371
is there a way to look at a maintenance plan and see who the creator was/is?
As far as I know, no. I don't use maintenance plans.

the service account is a local account correct?
Not really. Isn't the recommendation but you can use it but being a local account it won't have access to shares.
0
 
LVL 4

Assisted Solution

by:Thunder724
Thunder724 earned 166 total points
ID: 40555323
You should have an AD account created to replace the local account.
Than your network shares should be given write/modify access to the share for the AD account that the job is running under.  Using the Local account in SQL to access and write to the network share, the permissions on the share would have to be wide open to anyone.  The SA account is a SQL Account and has nothing to do with Active Directory. Hope this helps.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Getting local user timezone in Sql Server 5 40
SQL Recursion 6 45
Linked Server - SP with Param to VIew 7 29
Http Post send by Store Procedure Help 5 30
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question