Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Replication (2005)
 SetSpn, Replication on 2 node SQL 2005 Cluster

Author  Topic 

DDBB_Admin
Starting Member

3 Posts

Posted - 2009-11-10 : 11:57:12
Hi there,

When setting up Replication between on SQL 2005 Server and a 2 Node Cluster
SQL 2005 server I got an error message, searching about it, it seems to be
related with username trusted for delegation on the AD, googling a bit I
found some references about using Setspn command to allow this username
Kerberos delegation.

ERROR MESSAGE:

This is the error message displayed when staring up Snapshot Agent on the 2
node cluster servers publicator.

Error messages:
Unable to start execution of step 2 (reason: Error authenticating proxy
domain\username, system error: Logon failure: unknown user name or bad
password.). The step failed.


Any one knows how to execute the setspn command exactly (parameters and all
stuff), or what is exactly the problem ??

Thanks.

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2009-11-10 : 15:18:47
have to be domain admin to setspn. also make sure AD account is trusted for delegation
Go to Top of Page

DDBB_Admin
Starting Member

3 Posts

Posted - 2009-11-11 : 02:10:43
Hi Russell,

I would like to trust the AD user for delegation to specified services only. The options in AD user properties (in delegation tab) selected are:
- Trust this user for delegation to specified services only.
- User Kerberos only.
- In the 'Services to wich this account can present delegated credentials' i think that i have to add de SQL Server Agent services but i don't know how i can select it because if i execute "setspn -L" command i only can see SQL Server services. How i can add SQL Server Agent services?

Many thanks.






Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2009-11-11 : 09:44:09
Is the SQL Server account same as SQL Agent account? If it is, you don't need to.

Are you domain admin? If not, you need a domain admin to do this for you.

Syntax is setspn servicename accountname
Go to Top of Page

DDBB_Admin
Starting Member

3 Posts

Posted - 2009-11-11 : 11:53:05
Hi Russell,

First many thanks for you reply.

The SQL Server account is the same than SQL Server Agent account.

So i don't need to add the SQL Server Agent services? I only need to add the SQL Server services? I don't understand it very well; i only need to trust the AD user for delegation to specified services only (in my case i think that only to SQL Server Agent). In this case when i use setspn command as you say me (with syntax 'setspn servicename accountname') i supposed that 'servicename' parameter is the SQL Server services name (not SQL Server Agent services name) and accountname is the SQL Server Agent services account name (that is the same than SQL Server services account). It is correct?

But in a different scenario, what were the steps if the SQL Server and SQL Server Agent account were different?

Many thanks in advance.

Go to Top of Page
   

- Advertisement -