Hi, first time here…
So… I saw all the documentation posted by @speedy, tried them all, but my Spark clients still can’t connect.
Openfire is setup correctly, I can log in without SSO using LDAP. With SSO enabled I get the following error in Spark:
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using GSSAPI: not-authorized at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:365) at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1052) at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:956) at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:971) at java.lang.Thread.run(Unknown Source)
The keytab is working, when I try:
PS C:\Program Files\Java\jre1.8.0_171\bin> .\klist.exe -c -k "C:\Program Files\Openfire\resources\xmpp.keytab"
It returns all 5 entries for the principle name.
PS C:\Program Files\Java\jre1.8.0_171\bin> .\kinit.exe -k -t "C:\Program Files\Openfire\resources\xmpp.keytab" XMPP/rede.uniforteam.com.br
Is working, opening tickets. I should point alt I already tried with the princple name being XMPP/chat.rede.uniforteam.com.br which is the FQDN of the server.
SRV and PTR records are pointing to the server, KRB and GSS files are setup properly given the amount of threads I read. Regedit key is also set.
I’m almost giving up on Openfire at this point.