Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

setspn command failed

Former Member
0 Kudos

Hi;

I try to configure SSO with a BO system. I use the gudie from note 1483762 - Configuring Manual Kerberos Authentication and/or SSO in Distributed Environments with XI 3.1 SP3 **Best Practice**.

When i try to use setspn command as mentioned page 6, the command failed.

I use the command as below:

setspn u2013a BOCMS/bossosvcacct.petkim.local bossosvcacct

setspn u2013a HTTP/petboprd bossosvcacct

setspn u2013a HTTP/petboprd.petkimsap.local bossosvcacct

I use the command as below too:

setspn u2013a BOCMS/bossosvcacct.petkim.local PETLAN\bossosvcacct

setspn u2013a HTTP/petboprd PETLAN\bossosvcacct

setspn u2013a HTTP/petboprd.petkimsap.local PETLAN\bossosvcacct

But the results are unseccessful like that:

Usage: setspn [switches data] computer name

where "computer name" can be the name or domain\name

Switches:

-R = reset HOST ServicePrincipalName

Usage: setspn -R computername

-A = add arbitrary SPN

Usage: setspn -A SPN computername

-D = delete arbitrary SPN

Usage: setspn -D SPN computername

-L = list registered SPNs

Usage: setspn -L computername

Examples:

setspn -R daserver1

It will register SPN "HOST/daserver1" and "HOST/{DNS of daserver1}"

setspn -A http/daserver daserver1

It will register SPN "http/daserver" for computer "daserver1"

setspn -D http/daserver daserver1

It will delete SPN "http/daserver" for computer "daserver1"

Could you please advise me about the usage of commands

Best regards

Noyan

2 REPLIES 2

Former Member
0 Kudos

The problem was about hostname. It should be CAPS.

stephane_lamarche
Active Participant
0 Kudos

On which server do you run the setspn command? From the BO server?