I work for a midsized manufacturing company here in Lexington KY. When I started here one of things I was tasked with was to find better ways for all the employee’s to communicate, enter Openfire and Spark.
The goals when I started this project were as follows.
Install Openfire and have it authenticate with AD.
Get SSO working so that they only have to login to Windows for everything to work.
Deploy Spark using group policy to all the machines in the building.
So far the only step I have been able to successfully complete is step 1, which brings me here. I have done the following in an attempt to make SSO work. I did everything on this document:
and this one:
I got no errors when doing any of this, everrything seemed to work perfect until I tried to log with Spark and got the error:
“Unable to connect using Single Sign On. Please check your principal and server settings”.
Once I got this I went back and checked every step to make sure I had it right and as far as I can tell I do. I then started to check the error logs and thats when I found this error in the Openfire warn.log:
"Caused by: GSSException: Invalid name provided (Mechanism level: Could not load configuration file C:\WINDOWS\krb5.ini (The system cannot find the file specified))
at sun.security.jgss.krb5.Krb5NameElement.getInstance(Unknown Source)
at sun.security.jgss.krb5.Krb5MechFactory.getNameElement(Unknown Source)
at sun.security.jgss.GSSManagerImpl.getNameElement(Unknown Source)
at sun.security.jgss.GSSNameImpl.getElement(Unknown Source)
at sun.security.jgss.GSSNameImpl.init(Unknown Source)
at sun.security.jgss.GSSNameImpl.<init>(Unknown Source)
at sun.security.jgss.GSSManagerImpl.createName(Unknown Source)"
So, after reading this error I thought “well that error makes sense, I must have forgotten to put the krb5.ini file on the server or on the cliet”. What is weird is that when I went to c:\WINDOWS\ krb5.ini was right there in front of my face. So I went and checked the client I was testing with and once again krb5.ini was in the correct place.
This has tottally stumped me, it’s saying it can’t find the file but it is there. Anybody had this happen before, or have any suggestions?
Thanks in advance.