<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Feed for content matching tag 'sasl'</title>
    <link>http://www.igniterealtime.org/community/index.jspa</link>
    <description>List of items matching the tag 'sasl'</description>
    <language>en</language>
    <pubDate>Mon, 08 Sep 2008 10:52:37 GMT</pubDate>
    <generator>Clearspace 2.5.1 dev (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2008-09-08T10:52:37Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/34526</link>
      <description>&lt;!-- [DocumentBodyStart:c6372138-8ca5-4e07-bf7e-b30ab7a2aac3] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;I am using Smack 3.0.4 with openfire 3.5.2.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On the client side (using smack) I am using ConnectionConfiguration to create the XMPPConnection in the following fashion:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConnectionConfiguration config = new ConnectionConfiguration(&lt;strong&gt;host&lt;/strong&gt;, port, serviceName);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config.setSelfSignedCertificateEnabled(true);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config.setReconnectionAllowed(true);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config.setCompressionEnabled(false);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config.setSASLAuthenticationEnabled(true);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config.setSecurityMode(ConnectionConfiguration.SecurityMode.enabled);&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I don't resolve the "host", then the XMPPConnection and underlying objects will perform a DNS lookup and when I login everything connects just fine.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String host = "billj-1";&amp;nbsp;&amp;nbsp;&amp;nbsp; // Note this resolves to 47.102.157.252&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int port = 5222;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String serviceName = "billj-1";&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Note that the openfire server name is configured as "billj-1".&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;However if I resolve the hostname myself and pass the IP for the host then I get a SASL Exception on the openfire server.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String host = "47.102.157.252";&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int port = 5222;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String serviceName = "billj-1";&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2008.08.19 01:56:36 NIOConnection: startTLS: using c2s&lt;br/&gt;2008.08.19 01:56:36 SASLAuthentication: SaslException&lt;br/&gt;javax.security.sasl.SaslException: DIGEST-MD5: digest response format violation. Nonexistent realm: 47.102.157.252&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sun.security.sasl.digest.DigestMD5Server.validateClientResponse(Unknown Source)&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sun.security.sasl.digest.DigestMD5Server.evaluateResponse(Unknown Source)&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java :282)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This format / behavior for the ConnectionConfiguration constructor seems to be allowed:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Creates a new ConnectionConfiguration using the specified host, port and&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * service name. This is useful for manually overriding the DNS SRV lookup&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * process that's used with the {@link #ConnectionConfiguration(String)}&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * constructor. For example, say that an XMPP server is running at localhost&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * in an internal network on port 5222 but is configured to think that it's&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * "example.com" for testing purposes. This constructor is necessary to connect&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * to the server in that case since a DNS SRV lookup for example.com would not&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * point to the local testing server.&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param host the host where the XMPP server is running.&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param port the port where the XMPP is listening.&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param serviceName the name of the service provided by an XMPP server.&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public ConnectionConfiguration(String host, int port, String serviceName) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; init(host, port, serviceName);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Note that if I turn off SASL Auth ("config.setSASLAuthenticationEnabled(false);") then the connection / login is successful when I specify the host IP (as expected).&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I can't seem to find the mechanism to specify the realm to use with Smack. Is this something that is broken in Smack? (shouldn't it be using the realm from the returned challenge?) Or is there some mechanism to specify acceptable realms on the openfire server?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:c6372138-8ca5-4e07-bf7e-b30ab7a2aac3] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <category domain="http://www.igniterealtime.org/community/tags">realm</category>
      <category domain="http://www.igniterealtime.org/community/tags">smack</category>
      <category domain="http://www.igniterealtime.org/community/tags">saslexception</category>
      <category domain="http://www.igniterealtime.org/community/tags">nonexistent_realm</category>
      <category domain="http://www.igniterealtime.org/community/tags">connectionconfiguration</category>
      <category domain="http://www.igniterealtime.org/community/tags">openfire</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>billj@nortel.com</author>
      <guid>http://www.igniterealtime.org/community/thread/34526</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/33527</link>
      <description>&lt;!-- [DocumentBodyStart:f3450a6e-fae7-43b8-a3f1-a19fa6cfea5a] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hey folks, &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is on a related note to my other thread about XMPP issued certificates, but since that issue was resolved (by getting certificates re-issued), I'm putting this issue in a new thread. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The problem I encountered is the following:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For secured server to server (s2s) connections, using both self-signed and CA-signed certificates, everything checks out fine between my live Openfire server and test Openfire server. However, when trying to make a similar connection to other jabber servers in the public network, it doesn't work. The difference being:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;- Between 2 openfire servers, after TLS has been negotiated, the servers authenticate with SASL EXTERNAL (which according to the devs here, is bundeled with using TLS for s2s).&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;- Between openfire and other servers (I tried several that support TLS, all with the same result!), TLS is negotiated successfully, but then I get the message "Error, no SASL mechanisms were offered by (server name)", and it closes TLS with the option to use plaintext (unencrypted) dialback instead.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So, obviously, other jabber software doesn't offer SASL, or offers it in a way different than what Openfire expects. Since I, and my users, prefer encrypted streams where possible, I want to be able to have encrypted s2s connections to other jabber servers, even if they don't offer all the "expected" options for authentication.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I've scanned over the source to see where the connection debug messages come from, and at first glance (but I'm no java programmer) it doesn't seem too hard to add a property that could skip SASL -- Or would this not work? (to me it seems an optional step to have extra verification of the remote server)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Mark. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f3450a6e-fae7-43b8-a3f1-a19fa6cfea5a] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">security</category>
      <category domain="http://www.igniterealtime.org/community/tags">server2server</category>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <category domain="http://www.igniterealtime.org/community/tags">encryption</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>webmaster@jivesoftware.com</author>
      <guid>http://www.igniterealtime.org/community/thread/33527</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/32377</link>
      <description>&lt;!-- [DocumentBodyStart:02a57797-9fea-4932-b78e-c0598fb42c25] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Using Psi 0.11, with openfire 3.4.5 on Red Hat, I am running into this error:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;"There was an error communicating with the server .&amp;nbsp; Details: Authentication Error: No&amp;nbsp; appropriate mechanism available for given security settings (e.g. SASL library too weak, or plaintext authentication not enabled)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Psi is configured with plaintext authentication disabled, but I thought that SASL support was part of the XMPP protocol. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Does anyone know how to make openfire allows SASL authentication from Psi ? (Is there perhaps a specific SASL mechanism that needs to be enabled on the server?)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Much Thanks,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Isaac Vetter &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:02a57797-9fea-4932-b78e-c0598fb42c25] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">psi</category>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <category domain="http://www.igniterealtime.org/community/tags">security</category>
      <category domain="http://www.igniterealtime.org/community/tags">configuration</category>
      <category domain="http://www.igniterealtime.org/community/tags">error</category>
      <category domain="http://www.igniterealtime.org/community/tags">openfire</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>isaacvetter@gmail.com</author>
      <guid>http://www.igniterealtime.org/community/thread/32377</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/32004</link>
      <description>&lt;!-- [DocumentBodyStart:33e728f5-1b42-4271-b512-27d966f95a37] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have downloaded the latest spark source code and ran an "ant dist", went into the target/build/bin and ran the startup.sh script.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I put in my openfire server and used the credentials I had set up on the server and tried to log in.&amp;nbsp; I saw this message in the console. I did a "svn up" to make sure I had the latest version, It says Im at 10106. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;WARNING: Exception in Login:&lt;/p&gt;&lt;p&gt;SASL authentication failed: &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java: 327)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:438)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:861)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:200)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:604)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:131)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Thread.run(Thread.java:619)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I downloaded spark 2.5.8 and tried to log on and I was able to log in.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Did I do something wrong on my build?&amp;nbsp; Im not sure where I am going wrong here, thanks for all of your help. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:33e728f5-1b42-4271-b512-27d966f95a37] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">spark</category>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <category domain="http://www.igniterealtime.org/community/tags">authentication</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>kaffe_02@yahoo.com</author>
      <guid>http://www.igniterealtime.org/community/thread/32004</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/31832</link>
      <description>&lt;!-- [DocumentBodyStart:57f9102d-9052-4a04-99c5-bd53b5c62a7c] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;I've been wrestling with this 'three-headed dog' of an error for a few days now , I've been reading and searching but I haven't found the answer yet.?:| &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To the best of my knowledge, I have read and followed the directions written by slushpupie and Poppa Smurf. &lt;/p&gt;&lt;p&gt;I have added the registry value on the client, and the krb.ini is in place. &lt;/p&gt;&lt;p&gt;I used ktpass to generate the key table file but I have also tried the java utility from the openfire jre folder, and when I used that keytab it didnt seem to help. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I've looked at the logs in openfire for useful data but I don't know what to look for there, I haven't noticed anything in the openfire server logs that is helpful. When I enable SSO in Spark my username shows up but when I try to log in it gives me the error "Please check your principle and server settings" I know there are a lot of parts that need to be in place to get this to work, so here we go: (sorry about the formatting)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-&lt;/p&gt;&lt;hr originalText="----"/&gt;&lt;p&gt;*ERROR from Spark warn.log*&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Mar 10, 2008 10:35:42 AM org.jivesoftware.spark.util.log.Log warning&lt;/p&gt;&lt;p&gt;WARNING: Exception in Login:&lt;/p&gt;&lt;p&gt;SASL authentication failed: &lt;/p&gt;&lt;p&gt;at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java: 209)&lt;/p&gt;&lt;p&gt;at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:341)&lt;/p&gt;&lt;p&gt;at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:828)&lt;/p&gt;&lt;p&gt;at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:196)&lt;/p&gt;&lt;p&gt;at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:594)&lt;/p&gt;&lt;p&gt;at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129)&lt;/p&gt;&lt;p&gt;at java.lang.Thread.run(Unknown Source)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-&lt;/p&gt;&lt;hr originalText="----"/&gt;&lt;p&gt;*krb5.ini*&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="libdefaults"&gt;libdefaults&lt;/a&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;default_realm = MY.DOMAIN.COM&lt;/p&gt;&lt;p&gt;default_tkt_enctypes = rc4-hmac des3-cbc-sha1 des-cbc-crc des-cbc-md5&lt;/p&gt;&lt;p&gt;default_tgs_enctypes = rc4-hmac des3-cbc-sha1 des-cbc-crc des-cbc-md5&lt;/p&gt;&lt;p&gt;permitted_enctypes = rc4-hmac des3-cbc-sha1 des-cbc-crc des-cbc-md5 &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="realms"&gt;realms&lt;/a&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;MY.DOMAIN.COM = {&lt;/p&gt;&lt;p&gt;kdc = mydc.my.domain.com&lt;/p&gt;&lt;p&gt;admin_server = mydc.my.domain.com&lt;/p&gt;&lt;p&gt;default_domain = my.domain.com&lt;/p&gt;&lt;p&gt;} &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="domain_realms"&gt;domain_realms&lt;/a&gt;&lt;/p&gt;&lt;p&gt;my.domain.com= MY.DOMAIN.COM&lt;/p&gt;&lt;p&gt;.my.domain.com = MY.DOMAIN.COM&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-&lt;/p&gt;&lt;hr originalText="----"/&gt;&lt;p&gt;*gss.conf*&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;com.sun.security.jgss.accept {&lt;/p&gt;&lt;p&gt;com.sun.security.auth.module.Krb5LoginModule&lt;/p&gt;&lt;p&gt;required&lt;/p&gt;&lt;p&gt;storeKey=true&lt;/p&gt;&lt;p&gt;keyTab="C:/Program Files/Openfire/resources/chat.keytab"&lt;/p&gt;&lt;p&gt;doNotPrompt=true&lt;/p&gt;&lt;p&gt;useKeyTab=true&lt;/p&gt;&lt;p&gt;realm="MY.DOMAIN.COM"&lt;/p&gt;&lt;p&gt;&lt;span&gt;principal="&lt;/span&gt;&lt;a class="jive-link-email-small" href="mailto:xmpp/chat.my.domain.com@MY.DOMAIN.COM"&gt;xmpp/chat.my.domain.com@MY.DOMAIN.COM&lt;/a&gt;&lt;span&gt;"&lt;/span&gt;&lt;/p&gt;&lt;p&gt;debug=true;&lt;/p&gt;&lt;p&gt;};&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-&lt;/p&gt;&lt;hr originalText="----"/&gt;&lt;p&gt;*openfire.xml*&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;amp;lt;sasl&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;mechs&amp;amp;gt;GSSAPI&amp;amp;lt;/mechs&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;!-- &amp;amp;lt;mechs&amp;amp;gt;CRAM-MD5,DIGEST-MD5,PLAIN,EXTERNAL,ANONYMOUS&amp;amp;lt;/mechs&amp;amp;gt; --&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;realm&amp;amp;gt;MY.DOMAIN.COM&amp;amp;lt;/realm&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;gssapi&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;debug&amp;amp;gt;true&amp;amp;lt;/debug&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;config&amp;amp;gt;C:/Program Files/openfire/conf/gss.conf&amp;amp;lt;/config&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;useSubjectCredsOnly&amp;amp;gt;false&amp;amp;lt;/useSubjectCredsOnly&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;/gssapi&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;/sasl&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;provider&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;authorization&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;classList&amp;amp;gt;org.jivesoftware.openfire.sasl.LooseAuthorizationPolicy&amp;amp;lt;/cla ssList&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;amp;lt;/authorization&amp;amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:57f9102d-9052-4a04-99c5-bd53b5c62a7c] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">sso</category>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <category domain="http://www.igniterealtime.org/community/tags">kerberos</category>
      <category domain="http://www.igniterealtime.org/community/tags">authentication</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>webmaster@jivesoftware.com</author>
      <guid>http://www.igniterealtime.org/community/thread/31832</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/28776</link>
      <description>&lt;!-- [DocumentBodyStart:530ae9c8-d066-4d8b-a90c-a253ee06edf1] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; Could one of the Openfire devs check out this Pidgin ticket and comment on it?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt; &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://developer.pidgin.im/ticket/2095"&gt;http://developer.pidgin.im/ticket/2095&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; The problem is that when pidgin gets disconnected from Openfire (for some network reason), pidgin can't reconnect without restarting Pidgin.&amp;nbsp; The pidgin ticket indicates there may be a bug with the SASL bits used by Openfire.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; thanks,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; daryl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:530ae9c8-d066-4d8b-a90c-a253ee06edf1] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <category domain="http://www.igniterealtime.org/community/tags">pidgin</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>akrherz@iastate.edu</author>
      <guid>http://www.igniterealtime.org/community/thread/28776</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/30192</link>
      <description>&lt;!-- [DocumentBodyStart:155931cb-be15-44c7-b9b8-23ad6b90d301] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;even if the server property &lt;em&gt;xmpp.client.tls.policy&lt;/em&gt; is set to &lt;em&gt;required&lt;/em&gt;, Openfire will offer sasl mechanisms, including plain.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span __default_attr="html" __jive_macro_name="code"&gt;&lt;![CDATA[&lt;stream:features&gt;
&lt;starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"&gt;
&lt;required&gt;&lt;/required&gt;
&lt;/starttls&gt;
&lt;mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"&gt;
&lt;mechanism&gt;PLAIN&lt;/mechanism&gt;
&lt;mechanism&gt;EXTERNAL&lt;/mechanism&gt;
&lt;mechanism&gt;GSSAPI&lt;/mechanism&gt;
&lt;/mechanisms&gt;
&lt;/stream:features&gt;

If/when the client attempts to use one of the offered mechanisms, Openfire will proceed through the full sasl negotation, and then sends an empty stream:features tag:

&lt;stream:features&gt;&lt;/stream:features&gt;]]&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It looks like several bugs here: &lt;/p&gt;&lt;p&gt;first, if tls is required OF should probably not be offering SASL mechanisms until starttls has been negotiated.&lt;/p&gt;&lt;p&gt;Second, if the client still attempts to use SASL over an unencrypted connection (when tls is required), OF should not negotiate (in particular, it should not indicate success for an SASL plain authentication attempt).&amp;nbsp; &lt;/p&gt;&lt;p&gt;Third, OF probably shouldn't be sending an empty stream:features tag. I would guess that the right thing to do would be to simply offer the starttls feature again -- or possibly close the stream.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:155931cb-be15-44c7-b9b8-23ad6b90d301] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">bug</category>
      <category domain="http://www.igniterealtime.org/community/tags">security</category>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>webmaster@jivesoftware.com</author>
      <guid>http://www.igniterealtime.org/community/thread/30192</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/30148</link>
      <description>&lt;!-- [DocumentBodyStart:4857cb50-21ca-43ef-b020-c5a50cb0120d] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I tried to update from 3.3.3 to 3.4.1 tonight to find out Pop3 authentication doesn't work in 3.4.1.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My server run on&amp;nbsp; windows2000, mysq, hmailserver.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I installed using the exe package, everything updated fine, the service started. But not a single one can authenticate, not even the admin from the web console.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I had to revert to 3.3.3 for now. Seems to be because sasl doesn't like plain username.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm wondering if I should open a bugreport, cause it work in 3.3.3... &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In the warn.log I get:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-&lt;/p&gt;&lt;hr originalText="----"/&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2007.11.14 18:20:56 SaslException&lt;/p&gt;&lt;p&gt;javax.security.sasl.SaslException: PLAIN authentication failed &lt;a class="jive-link-external-small" href="#"&gt;Caused by javax.security.sasl.SaslException: PLAIN: user not authorized: user&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.openfire.sasl.SaslServerPlainImpl.evaluateResponse(SaslServerP lainImpl.java:144)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java :229)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:152)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:132)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:58)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:162)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :240)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:284)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Thread.run(Unknown Source)&lt;/p&gt;&lt;p&gt;Caused by: javax.security.sasl.SaslException: PLAIN: user not authorized: user&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.jivesoftware.openfire.sasl.SaslServerPlainImpl.evaluateResponse(SaslServerP lainImpl.java:127)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... 17 more &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-&lt;/p&gt;&lt;hr originalText="----"/&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My config is as simple as that:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;amp;lt;connectionProvider&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;className&amp;amp;gt;org.jivesoftware.database.DefaultConnectionProvider&amp;amp;lt;/classN ame&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;amp;lt;/connectionProvider&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;amp;lt;database&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;defaultProvider&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;driver&amp;amp;gt;com.mysql.jdbc.Driver&amp;amp;lt;/driver&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;serverURL&amp;amp;gt;jdbc:mysql://localhost:3306/openfire&amp;amp;lt;/serverURL&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;username&amp;amp;gt;user&amp;amp;lt;/username&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;password&amp;amp;gt;pass&amp;amp;lt;/password&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;minConnections&amp;amp;gt;5&amp;amp;lt;/minConnections&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;maxConnections&amp;amp;gt;15&amp;amp;lt;/maxConnections&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;connectionTimeout&amp;amp;gt;1.0&amp;amp;lt;/connectionTimeout&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/defaultProvider&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;amp;lt;/database&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;amp;lt;provider&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;auth&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;className&amp;amp;gt;org.jivesoftware.openfire.auth.POP3AuthProvider&amp;amp;lt;/className&amp;amp; gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/auth&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;user&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;className&amp;amp;gt;org.jivesoftware.openfire.user.POP3UserProvider&amp;amp;lt;/className&amp;amp; gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/user&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;amp;lt;/provider&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;amp;lt;pop3&amp;amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;host&amp;amp;gt;127.0.0.1&amp;amp;lt;/host&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;domain&amp;amp;gt;domain.com&amp;amp;lt;/domain&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;authRequiresDomain&amp;amp;gt;true&amp;amp;lt;/authRequiresDomain&amp;amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;amp;lt;/pop3&amp;amp;gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4857cb50-21ca-43ef-b020-c5a50cb0120d] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">pop3</category>
      <category domain="http://www.igniterealtime.org/community/tags">authentication</category>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <category domain="http://www.igniterealtime.org/community/tags">plain</category>
      <category domain="http://www.igniterealtime.org/community/tags">username</category>
      <category domain="http://www.igniterealtime.org/community/tags">openfire</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>webmaster@jivesoftware.com</author>
      <guid>http://www.igniterealtime.org/community/thread/30148</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/29915</link>
      <description>&lt;!-- [DocumentBodyStart:3388e756-5e09-47b7-8a88-d388315dbe35] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Sorry for my english&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I want to use the database MySQL user of open-Xchange for my authentification.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a problem SASL authentication.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here logs logs/warn.log&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;!--[CodeBlockStart:3cf8677f-3899-43a0-9f2f-3c538260244d]--&gt;&lt;span&gt;&lt;/span&gt;&lt;!--[CodeBlockEnd:3cf8677f-3899-43a0-9f2f-3c538260244d]--&gt;&lt;/p&gt;&lt;p&gt;Javax.security.sasl.SaslException: PLAIN authentication failed &lt;a class="jive-link-external-small" href="#"&gt;Caused by javax.security.sasl.SaslException: PLAIN: user not authorized: oxadmin&lt;/a&gt;&lt;/p&gt;&lt;p&gt;...&lt;/p&gt;&lt;p&gt;Caused by: javax.security.sasl.SaslException: PLAIN: user not authorized: oxadmin&lt;/p&gt;&lt;p&gt;&lt;span __default_attr="html" __jive_macro_name="code"&gt;&lt;![CDATA[&lt;/code&gt;

My configuration file conf/openfire.xml

&lt;code&gt;
  &lt;JdbcProvider&gt;
     &lt;driver&gt;Com.mysql.jdbc.Driver &lt;/driver&gt;
     &lt;ConnectionString&gt; jdbc: mysql://localhost:3306/open-xchange-db?User=openexchange&amp;password=XXXX&lt;/connectionString&gt;
   &lt;/JdbcProvider&gt;
   &lt;Provider&gt;
     &lt;Auth&gt;
       &lt;ClassName&gt;org.jivesoftware.openfire.auth.JDBCAuthProvider&lt;/className&gt;
     &lt;/Auth&gt;
     &lt;User&gt;
       &lt;ClassName&gt;org.jivesoftware.openfire.user.JDBCUserProvider&lt;/className&gt;
     &lt;/User&gt;
   &lt;/Provider&gt;
   &lt;JdbcAuthProvider&gt;
     &lt;PasswordSQL&gt;SELECT user.userPassword FROM user, login2user WHERE user.id=login2user.id AND login2user.uid=?&lt;/PasswordSQL&gt;
     &lt;PasswordType&gt;md5&lt;/passwordType&gt;
   &lt;/ JdbcAuthProvider&gt;
   &lt;JdbcUserProvider&gt;
     &lt;LoadUserSQL&gt;SELECT login2user.uid, user.mail FROM user, login2user WHERE user.id=login2user.id AND login2user.uid=?&lt;/LoadUserSQL&gt;
     &lt;UserCountSQL&gt; SELECT COUNT (*) FROM user&lt;/userCountSQL&gt;
     &lt;AllUsersSQL&gt; SELECT uid FROM login2user&lt;/allUsersSQL&gt;
     &lt;SearchSQL&gt; SELECT uid FROM login2user WHERE&lt;/searchSQL&gt;
     &lt;UsernameField&gt;login2user.uid&lt;/usernameField&gt;
     &lt;NameField&gt;login2user.uid&lt;/nameField&gt;
     &lt;emailField&gt;user.mail&lt;/emailField&gt;
   &lt;/JdbcUserProvider&gt;
   &lt;ConnectionProvider&gt;
     &lt;ClassName&gt; org.jivesoftware.database.DefaultConnectionProvider&lt;/className&gt;
   &lt;/ConnectionProvider&gt;
&lt;/code&gt;]]&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My config imap for authentication via SASL is PLAIN. The problem is here ?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you have an idea?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Cyp&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3388e756-5e09-47b7-8a88-d388315dbe35] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">configuration</category>
      <category domain="http://www.igniterealtime.org/community/tags">connection</category>
      <category domain="http://www.igniterealtime.org/community/tags">database</category>
      <category domain="http://www.igniterealtime.org/community/tags">mysql</category>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>cyp@lipousse.no-ip.org</author>
      <guid>http://www.igniterealtime.org/community/thread/29915</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/29444</link>
      <description>&lt;!-- [DocumentBodyStart:7f2c857a-1d2f-428c-8d0c-97e0961ebd87] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is in reference to the post made &lt;a class="jive-link-message-small" href="http://www.igniterealtime.org/community/message/157825#157825"&gt;here&lt;/a&gt; and the suggestion to create a new thread.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Up to this point, openfire 3.3.1 and 3.3.2 have worked just fine for me with no issues on any configuration I set it up with. Now once updated to 3.3.3, I am having connection issues related to the SSL/TLS security options in openfire. The above linked post has most of the details, but here are the cliffnotes:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Trying three different clients: Bombus (J2ME jabber client for cellphones. related cellphone has full socket connection support with no limitations) and Miranda IM (PC IM client with jabber plugin) and Spark.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Spark works in every config but being dev'd by the same company and not really being a PRIMARY client and more of a way to debug this issue, I have pushed it aside in this case.&lt;/p&gt;&lt;p&gt;Bombus: Can't do SSL due to no support for self-signed certs in the phone JVM. With encryption required in openfire, bombus reads 'login failed' after it tries to authenticate. Security set as optional and SASL enabled on bombus (I ASSUME this is the same as TLS. If not, someone feel free to correct me), it hits the authentication stage and just sits there doing nothing till I close out of the app.&lt;/p&gt;&lt;p&gt;Miranda IM: Encryption required&amp;nbsp; causes a 'not authorized' error&amp;nbsp; to pop up whether I have it set to connect unencrypted, with SSL, or with TLS in the client options. Encryption optional it connects fine in all cases.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If someone could help narrow down the issue here, that'd be extremely helpful. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7f2c857a-1d2f-428c-8d0c-97e0961ebd87] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">openfire</category>
      <category domain="http://www.igniterealtime.org/community/tags">bombus</category>
      <category domain="http://www.igniterealtime.org/community/tags">miranda</category>
      <category domain="http://www.igniterealtime.org/community/tags">security</category>
      <category domain="http://www.igniterealtime.org/community/tags">tls</category>
      <category domain="http://www.igniterealtime.org/community/tags">ssl</category>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <category domain="http://www.igniterealtime.org/community/tags">connection</category>
      <category domain="http://www.igniterealtime.org/community/tags">spark</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>vchat20@gmail.com</author>
      <guid>http://www.igniterealtime.org/community/thread/29444</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/28444</link>
      <description>&lt;!-- [DocumentBodyStart:53585fb0-755a-4ea8-96af-8dfd0ebd135e] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;i have read a couple of threads about gmail authentication (![&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.igniterealtime.org/issues/images/icons/bug.gif"&gt;http://www.igniterealtime.org/issues/images/icons/bug.gif&lt;/a&gt;&lt;span&gt;!] &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.igniterealtime.org/issues/browse/SMACK-224"&gt;SMACK-224&lt;/a&gt; - related) - but it didn't help me unfortunately ..&lt;/p&gt;&lt;p&gt;i'm trying to authenticate with gmx (gmx.at) but no combination of sasl authentication, plain sasl authentication, non-sasl authentication, security mode disabled, enabled, etc. seems to work &lt;img height="16px" src="http://www.igniterealtime.org/community/images/emoticons/sad.gif" width="16px"/&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;packets sent:&lt;/p&gt;&lt;p&gt;&lt;span __default_attr="html" __jive_macro_name="code"&gt;&lt;![CDATA[&lt;stream:stream to="gmx.at" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0"&gt;
&lt;starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"&gt;&lt;/starttls&gt;
&lt;stream:stream to="gmx.at" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0"&gt;
&lt;stream:stream to="gmx.at" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0"&gt;
&lt;starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"&gt;&lt;/starttls&gt;
&lt;stream:stream to="gmx.at" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0"&gt;
&lt;auth mechanism="PLAIN" xmlns="urn:ietf:params:xml:ns:xmpp-sasl"&gt;AHNvbWVfYm9keQBUaGVCZXN0&lt;/auth&gt;
&lt;stream:stream to="gmx.at" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0"&gt;
&lt;iq id="930uI-0" type="set"&gt;&lt;bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"&gt;&lt;/bind&gt;&lt;/iq&gt;
&lt;/stream:stream&gt;


packets received:
&lt;?xml version='1.0'?&gt;&lt;stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='641232419' from='gmx.at' version='1.0' xml:lang='en'&gt;&lt;stream:features&gt;&lt;starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'&gt;&lt;/starttls&gt;&lt;mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'&gt;&lt;mechanism&gt;PLAIN&lt;/mechanism&gt;&lt;/mechanisms&gt;&lt;register xmlns='http://jabber.org/features/iq-register'&gt;&lt;/register&gt;&lt;/stream:features&gt;
&lt;proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'&gt;&lt;/proceed&gt;
&lt;?xml version='1.0'?&gt;&lt;stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1321825353' from='gmx.at' version='1.0' xml:lang='en'&gt;
&lt;stream:features&gt;&lt;mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'&gt;&lt;mechanism&gt;PLAIN&lt;/mechanism&gt;&lt;/mechanisms&gt;&lt;register xmlns='http://jabber.org/features/iq-register'&gt;&lt;/register&gt;&lt;/stream:features&gt;
&lt;?xml version='1.0'?&gt;&lt;stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1282973096' from='gmx.at' version='1.0' xml:lang='en'&gt;
&lt;stream:features&gt;&lt;starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'&gt;&lt;/starttls&gt;&lt;mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'&gt;&lt;mechanism&gt;PLAIN&lt;/mechanism&gt;&lt;/mechanisms&gt;&lt;register xmlns='http://jabber.org/features/iq-register'&gt;&lt;/register&gt;&lt;/stream:features&gt;
&lt;proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'&gt;&lt;/proceed&gt;
&lt;?xml version='1.0'?&gt;&lt;stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='280697692' from='gmx.at' version='1.0' xml:lang='en'&gt;
&lt;stream:features&gt;&lt;mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'&gt;&lt;mechanism&gt;PLAIN&lt;/mechanism&gt;&lt;/mechanisms&gt;&lt;register xmlns='http://jabber.org/features/iq-register'&gt;&lt;/register&gt;&lt;/stream:features&gt;
&lt;success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'&gt;&lt;/success&gt;
&lt;?xml version='1.0'?&gt;&lt;stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2451435399' from='gmx.at' version='1.0' xml:lang='en'&gt;
&lt;stream:features&gt;&lt;bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'&gt;&lt;/bind&gt;&lt;session xmlns='urn:ietf:params:xml:ns:xmpp-session'&gt;&lt;/session&gt;&lt;/stream:features&gt;



stack trace:
SCHWERWIEGEND: Error while validating account (id: {some_body@gmx.at})
net.sphene.goim.core.exceptions.GOIMException: Error while trying to validate account: No response from the server.
at net.sphene.goim.protocol.jabber.connection.JabberAccountConnection.validateAccount(JabberAccountConnection.java:391)
at net.sphene.goim.protocol.jabber.ui.wizards.account.AccountWizard$1.run(AccountWizard.java:62)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: No response from the server.: 
at org.jivesoftware.smack.SASLAuthentication.bindResourceAndEstablishSession(SASLAuthentication.java:307)
at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:214)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:341)
at net.sphene.goim.protocol.jabber.connection.JabberAccountConnection.validateAccount(JabberAccountConnection.java:387)
... 2 more



any ideas ? i can also post the transcript+backtrace of NonSASL authentication if that helps ? (btw. i have tried it with another jabber client - psi .. it doesn't use SASL - and the main difference seems to be that it doesn't have the 'version="1.0"' in the &lt;stream:stream .. &gt;]]&gt;&lt;/span&gt; tag .. - but maybe it simply uses another auth protocol .. i have no idea about that stuff unfortunately &lt;img height="16px" src="http://www.igniterealtime.org/community/images/emoticons/sad.gif" width="16px"/&gt; )&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks, &lt;/p&gt;&lt;p&gt;&amp;nbsp; herbert&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://goim2.sphene.net"&gt;http://goim2.sphene.net&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:53585fb0-755a-4ea8-96af-8dfd0ebd135e] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">gmx</category>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <category domain="http://www.igniterealtime.org/community/tags">authentication</category>
      <category domain="http://www.igniterealtime.org/community/tags">goim</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>herbert.poul@gmail.com</author>
      <guid>http://www.igniterealtime.org/community/thread/28444</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title />
      <link>http://www.igniterealtime.org/community/thread/28513</link>
      <description>&lt;!-- [DocumentBodyStart:e4c7691f-9a3a-4d1c-935e-752deeccc9eb] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hi all,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have an Openfire 3.3.2 server setup on a RHEL4 box.&amp;nbsp; It is using Active Directory as the directory.&amp;nbsp; It works fine if users login with their usernames and passwords, but I can't get SSO to work properly.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have followed the instructions in the Configuring Openfire for Use with Kerberos document and even set the kerberos registry key on my WinXP SP2 box that was mentioned in a couple of other threads.&amp;nbsp; Below is the most recent entry from my warn.log on the server:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;================================================ &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2007.08.23 12:16:21 SaslException&lt;/p&gt;&lt;p&gt;javax.security.sasl.SaslException: Failure to initialize security context &lt;a class="jive-link-external-small" href="#"&gt;Caused by GSSException: No valid credentials provided (Mechanism level: Attempt to obtain new ACCEPT credentials failed!)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;at com.sun.security.sasl.gsskerb.GssKrb5Server.(Unknown Source)&lt;/p&gt;&lt;p&gt;at com.sun.security.sasl.gsskerb.FactoryImpl.createSaslServer(Unknown Source)&lt;/p&gt;&lt;p&gt;at javax.security.sasl.Sasl.createSaslServer(Unknown Source)&lt;/p&gt;&lt;p&gt;at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java :220)&lt;/p&gt;&lt;p&gt;at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:141)&lt;/p&gt;&lt;p&gt;at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:132)&lt;/p&gt;&lt;p&gt;at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:703)&lt;/p&gt;&lt;p&gt;at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:362)&lt;/p&gt;&lt;p&gt;at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:54)&lt;/p&gt;&lt;p&gt;at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:800)&lt;/p&gt;&lt;p&gt;at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:62)&lt;/p&gt;&lt;p&gt;at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:200)&lt;/p&gt;&lt;p&gt;at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:362)&lt;/p&gt;&lt;p&gt;at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:54)&lt;/p&gt;&lt;p&gt;at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:800)&lt;/p&gt;&lt;p&gt;at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :266)&lt;/p&gt;&lt;p&gt;at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:326)&lt;/p&gt;&lt;p&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)&lt;/p&gt;&lt;p&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;/p&gt;&lt;p&gt;at java.lang.Thread.run(Unknown Source)&lt;/p&gt;&lt;p&gt;Caused by: GSSException: No valid credentials provided (Mechanism level: Attempt to obtain new ACCEPT credentials failed!)&lt;/p&gt;&lt;p&gt;at sun.security.jgss.krb5.Krb5AcceptCredential.getInstance(Unknown Source)&lt;/p&gt;&lt;p&gt;at sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Unknown Source)&lt;/p&gt;&lt;p&gt;at sun.security.jgss.GSSManagerImpl.getCredentialElement(Unknown Source)&lt;/p&gt;&lt;p&gt;at sun.security.jgss.GSSCredentialImpl.add(Unknown Source)&lt;/p&gt;&lt;p&gt;at sun.security.jgss.GSSCredentialImpl.(Unknown Source)&lt;/p&gt;&lt;p&gt;at sun.security.jgss.GSSManagerImpl.createCredential(Unknown Source)&lt;/p&gt;&lt;p&gt;... 20 more&lt;/p&gt;&lt;p&gt;Caused by: javax.security.auth.login.LoginException: Unable to obtain password from user&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;at com.sun.security.auth.module.Krb5LoginModule.promptForPass(Unknown Source)&lt;/p&gt;&lt;p&gt;at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Unknown Source)&lt;/p&gt;&lt;p&gt;at com.sun.security.auth.module.Krb5LoginModule.login(Unknown Source)&lt;/p&gt;&lt;p&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/p&gt;&lt;p&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;/p&gt;&lt;p&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;/p&gt;&lt;p&gt;at java.lang.reflect.Method.invoke(Unknown Source)&lt;/p&gt;&lt;p&gt;at javax.security.auth.login.LoginContext.invoke(Unknown Source)&lt;/p&gt;&lt;p&gt;at javax.security.auth.login.LoginContext.access$000(Unknown Source)&lt;/p&gt;&lt;p&gt;at javax.security.auth.login.LoginContext$5.run(Unknown Source)&lt;/p&gt;&lt;p&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;/p&gt;&lt;p&gt;at javax.security.auth.login.LoginContext.invokeCreatorPriv(Unknown Source)&lt;/p&gt;&lt;p&gt;at javax.security.auth.login.LoginContext.login(Unknown Source)&lt;/p&gt;&lt;p&gt;at sun.security.jgss.GSSUtil.login(Unknown Source)&lt;/p&gt;&lt;p&gt;at sun.security.jgss.krb5.Krb5Util.getKeys(Unknown Source)&lt;/p&gt;&lt;p&gt;at sun.security.jgss.krb5.Krb5AcceptCredential$1.run(Unknown Source)&lt;/p&gt;&lt;p&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;/p&gt;&lt;p&gt;... 26 more&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any ideas what this error means or what I could do to fix it?&amp;nbsp; Thanks. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e4c7691f-9a3a-4d1c-935e-752deeccc9eb] --&gt;</description>
      <category domain="http://www.igniterealtime.org/community/tags">sso</category>
      <category domain="http://www.igniterealtime.org/community/tags">configuration</category>
      <category domain="http://www.igniterealtime.org/community/tags">linux</category>
      <category domain="http://www.igniterealtime.org/community/tags">kerberos</category>
      <category domain="http://www.igniterealtime.org/community/tags">sasl</category>
      <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>
      <author>aaron.giuoco@sbmatlantia.com</author>
      <guid>http://www.igniterealtime.org/community/thread/28513</guid>
      <dc:date>1970-01-01T00:00:00Z</dc:date>
      <clearspace:dateToText>38 years, 8 months ago</clearspace:dateToText>
    </item>
  </channel>
</rss>

