OpenFire 4.0.2 SSO Error or not?

Hi

I’m trying to run openfire + sso on the basic of this Openfire+Spark on Windows Server 2008 R2 with SSO

The Openfire console throws this :

Debug is true storeKey true useTicketCache false useKeyTab true doNotPrompt true ticketCache is null isInitiator false KeyTab is C:/Program Files (x86)/Openfire/resources/xmpp.keytab refreshKrb5Config is false principal is xmpp/<my_server>.<my_domain>@<MY_DOMAIN> tryFirstPass is false useFirstPass is false storePass is false clearPass is false

principal is xmpp/<my_server>.<my_domain>@<MY_DOMAIN>

Will use keytab

Commit Succeeded

and this is in the log file

2016.04.20 09:26:33 INFO [socket_c2s-thread-5]: org.jivesoftware.openfire.net.SASLAuthentication - User Login Failed. Failure to initialize security context

What is wrong ??

without having more info, I would guess you have an issue with your keytab file or krb5.ini file on your workstations. Also, make sure you only have one account used for your principal mapping (spn). I put a quick guide together a while ago that you’re more than welcome to try.

How to Setup SSO on Windows Server 2008r2/2012r2 with a Domain level of 2008r2/2012r2