all groups > sql server replication > april 2007 >
You're in the

sql server replication

group:

what account does replication use to subscribe to?


what account does replication use to subscribe to? Hassan
4/4/2007 10:56:47 AM
sql server replication: When I use transactional replication and push data to a set of subscriber,
what authentication does the publisher( w/ distributor) use to connect to
the subscriber ? Is it SQL Auth or Windows Auth ? If SQL, what is the
username ? If Windows, is it the SQL Server or SQL Agent Service Account?

The reason I ask this is my subscribers are outside the corporate network
and are not on the same domain. I can use SQL Auth to connect to an IP
address of the subscriber, but was wondering how do I create my
transactional replication using that SQL Auth. Where do i insert that SQL
Auth in the distribution agent ?

Using SQL 2000

Thanks

Re: what account does replication use to subscribe to? Paul Ibison
4/4/2007 8:21:30 PM
It all depends on how you you want to set it up using sp_addsubscriber
(sp_addpushsubscription_agent in sql server 2005). If it is set up using SQL
logins then this is usual for a non-trusted scenario. Alternatively it can
be the sql server agent's account of the publisher, in which case
pass-through authentication will have to be set up. Also you'll need to
consider the initialization process - whether to use FTP or an alternative
(eg local snapshot destination and manually transfer the snapshot
directory). Please take a look here for more info:
http://www.replicationanswers.com/InternetArticle.asp
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com

Re: what account does replication use to subscribe to? Hilary Cotter
4/4/2007 10:22:44 PM
That depends on how you have created your subscriber. In your case you can
you would define a sql account on the publisher when you add your
subscriber, or use pass through authentication when the sql server agent
account on the publisher is the same account name and password as a SQL
account on the subscriber.

--
Hilary Cotter

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com



[quoted text, click to view]

Re: what account does replication use to subscribe to? Hassan
4/5/2007 8:37:10 AM
Where do you define the sql account on the publisher and I am assuming you
need to create that same sql account on the subscriber too..right ?

In addition, where do you specify that replication will use this particular
sql account to connect to the subscriber.

Thanks
[quoted text, click to view]

Re: what account does replication use to subscribe to? Paul Ibison
4/5/2007 6:18:18 PM
Hassan,
have a look at sp_addsubscriber. The sql login is created on the publisher
and subscriber using sp_addlogin as per usual.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com

AddThis Social Bookmark Button