powered by Jive Software

Unable to obtain Princpal Name for authentication


  • Openfire 3.4.1 on WinXP Pro with LDAP to a MS AD Domain

  • Spark 2.5.8 beta 1on WinXP Pro

  • Java JRE (Java 6 Update 3)

I have the following in my Output.log file:

** authentication failed unable to obtain Princpal Name for authentication**

Spark won’t start. Can anyone point me in the right direction?

Thanks much,


Are you attempting to to do SSO?

Hi Todd,

Thanks for the reply. Yes, I was using SSO.


I assume that you have done all the steps like creating a krb5.ini, create a keytab, gss.conf, etc?

Hi Todd,

That’s the problem with being a newbie…

I assumed (perhaps incorrectly) that SSO would simply use my domain credentials to authenticate and it was an option for LDAP enabled setups. So, I really don’t know where the krb5.ini, keytab or gss.conf would be located or how to use them.

I did go into my spark.properties and changed the value for the SSO setting from “true” to “false” and spark started right up.

Can you point me to where I can get an education on SSO?

Much thanks,


This is a good starting point: http://www.igniterealtime.org/community/docs/DOC-1060. As for further help when you run into some problems, just post your questions here and you will get help.

Thank you Todd,

Much obliged for the help. I want to acknowledge those of you moderating and contributing to the form. You keep Openfire and Spark lit




I got the same problem(using Spark 2.5.8 in Windows XP).

But I cannot find the spark.properties file in anywhere.

or anybody can give me the right answer to correct this problem.




I got it.

I copy the spark.properties from another PC.

My Spark is recovery, anyway.