Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12162

Re: Openfire + Spark SSO issues

$
0
0

So, it has been a while, and I am just now getting back around to having the time to test this again. 

 

I have two machines in my network environment (one laptop, one desktop, both WIN7) that are able to sign in via SSO. 

 

 

I have three other machines that it fails on.  Every time.  I have the same krb5.ini file copied to each location.  I have UAC disabled on each workstation.  I deleted the local cached profile from my test machine and reloaded the user folders.  I have even gone as far as to recreate the keytab file with both Java and windows again.  Neither allow me to SSO from my test machine, and I don't see a difference between my test PC and the user's PC that SSO is working on.

 

I have also doublechecked there were no duplicate entries in  SPN using setspn -f xmpp/servername.domain.com@DOMAIN.COM

 

SASL authentication failed:

  -- caused by: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7))]

    at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:121)

    at org.jivesoftware.smack.sasl.SASLGSSAPIMechanism.authenticate(SASLGSSAPIMechanis m.java:86)

    at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java: 319)

    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:203)

    at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1014)

    at org.jivesoftware.LoginDialog$LoginPanel.access$1200(LoginDialog.java:219)

    at org.jivesoftware.LoginDialog$LoginPanel$4.construct(LoginDialog.java:730)

    at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:141)

    at java.lang.Thread.run(Unknown Source)

Nested Exception:

javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7))]

    at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(Unknown Source)

    at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:117)

    at org.jivesoftware.smack.sasl.SASLGSSAPIMechanism.authenticate(SASLGSSAPIMechanis m.java:86)

    at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java: 319)

    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:203)

    at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1014)

    at org.jivesoftware.LoginDialog$LoginPanel.access$1200(LoginDialog.java:219)

    at org.jivesoftware.LoginDialog$LoginPanel$4.construct(LoginDialog.java:730)

    at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:141)

    at java.lang.Thread.run(Unknown Source)

Caused by: GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7))

    at sun.security.jgss.krb5.Krb5Context.initSecContext(Unknown Source)

    at sun.security.jgss.GSSContextImpl.initSecContext(Unknown Source)

    at sun.security.jgss.GSSContextImpl.initSecContext(Unknown Source)

    ... 10 more

 

in the output file, it looks to me as if everything should be working normally...

 

Debug is  true storeKey false useTicketCache true useKeyTab false doNotPrompt true ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false

Acquire TGT from Cache

Principal is user@DOMAIN.COM

Commit Succeeded

 

 

I truly don't understand how this is working for two machines and not for three. 


Viewing all articles
Browse latest Browse all 12162

Trending Articles