05-15-2008 12:56 AM
Hi
Just wondering is anyone experience this when generating the setspn command below we get following error.
If anyone seen this before and can advise what the issue would be much appreciated.
Thanks
C:\>setspn -A HTTP/eplkk4.abc.co.nz SID_SAP
Usage: setspn [switches data] computername
Where "computername" 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"
01-28-2009 3:10 PM
Hello Susanto,
I think that you have to change the SAP_SID by the Active Directory account that you want to associate. It should be like:
setspn -A HTTP/hostname.domain.com ADDOMAIN\username
I hope that helps someone!
Cheers,
Andreu