Re: SQL Server and Agent Accounts
- From: "Maer" <maer@xxxxxxxxxxxxxxxxx>
- Date: Fri, 21 Oct 2005 11:44:26 -0400
Hi Guys - Thank you so much for your help. Let me clarify my questions:
1) I log in to the server as a sysadmin. What I have observed is that
it is not enough to be logged in as a sysadmin when running the replication
wizard, SQLServer service must run under a windows account that is also
sysadmin on the server (and if you the service is running under Local
System, then NT Authority\System must be sysadmin).
I would like to confirm that this is indeed a prerequisite.
2) Here is a scenario that I tested: I created a Windows account called
"Domain\ReplAccount" that has access to the snapshot folder on the server.
Then I set the SQL Agent account to run under Domain\ReplAccount. I did not
create a login for Domain\ReplAccount on the publisher.
Then I logged in to the subscriber using an account (Domain\Maer) that
is in the PAL on the publisher and synchronized. Everything worked fine.
My confusion is that I thought that Domain\ReplAccount had to be in the
PAL. Apparently when SQL Agent logs in to the publisher it uses Domain\Maer.
Is this correct? Is this what impersonation means?
Thank you,
Maer
"Paul Ibison" <Paul.Ibison@xxxxxxxxxxxxx> wrote in message
news:u%23EvkVh1FHA.2540@xxxxxxxxxxxxxxxxxxxxxxx
> Maer,
> a lot of the replication procedures can only be run by sysadmin. Fo rthe
> second question, I'm not too sure what you mean. The account needs to have
> access to the snapshot share and after that if you're using impersonation
> it'll need to be in the PAL. If you're working on a schedule it'll use
> this account.
> Cheers,
> Paul Ibison SQL Server MVP, www.replicationanswers.com
> (recommended sql server 2000 replication book:
> http://www.nwsu.com/0974973602p.html)
>
.
- Follow-Ups:
- Re: SQL Server and Agent Accounts
- From: Sophie Guo [MSFT]
- Re: SQL Server and Agent Accounts
- References:
- SQL Server and Agent Accounts
- From: Maer
- Re: SQL Server and Agent Accounts
- From: Paul Ibison
- SQL Server and Agent Accounts
- Prev by Date: Re: Cannot insert duplicate key row in object 'MSmerge_genhistory' with unique index
- Next by Date: Re: New to Replication
- Previous by thread: Re: SQL Server and Agent Accounts
- Next by thread: Re: SQL Server and Agent Accounts
- Index(es):
Relevant Pages
|
|