Solved

Credentials that created maintenance plans in Studio Management

Posted on 2015-01-15
5
74 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
  • 2
  • 2
5 Comments
 
LVL 48

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 48

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 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