0 Replies Latest reply on Apr 18, 2017 1:45 AM by denser

    Openfire 4.1.3 + Windows server 2016 + openfire-sasl-sspi.v7.2.zip + Miranda(NG)

    denser

      2017.04.18 15:28:07 org.jivesoftware.openfire.net.SASLAuthentication - An unexpected exception occurred during SASL negotiation. Affected session: org.jivesoftware.openfire.session.LocalClientSession@1308264 status: 1 address: domain.local/9hnhwugls6 id: 9hnhwugls6 presence:

      <presence type="unavailable"/>

      java.util.NoSuchElementException

      at java.util.StringTokenizer.nextToken(Unknown Source)

      at org.jivesoftware.openfire.sasl.SaslServerPlainImpl.evaluateResponse(SaslServerP lainImpl.java:119)

      at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java :324)

      at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:182)

      at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)

      at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceive d(DefaultIoFilterChain.java:690)

      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)

      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)

      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)

      at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapte r.java:109)

      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)

      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)

      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)

      at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flus h(ProtocolCodecFilter.java:407)

      at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:236)

      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)

      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)

      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)

      at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)

      at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)

      at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(Ordere dThreadPoolExecutor.java:769)

      at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(Order edThreadPoolExecutor.java:761)

      at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThr eadPoolExecutor.java:703)

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

      Heloo guys. I need help.

      Before this new version i tune up openfire without trouble. But now, i have not working NTLM auth in new version.

      So, i got this steps:

      1. Install openfire on windows via installer

      2. Apply openfire-sasl-sspi.v7.2.zip from http://norman.rasmussen.co.za/dl/sasl-sspi/

      3. Launch Miranda NG (pretuned long ago and working from ages)

      cant login using Domain login - only user-password works. Ther up log from server and what miranda throw in console

      <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="domain.local" id="85wmxgkq87" xml:lang="ru" version="1.0" />

      <stream:features>

      <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />

      <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">

      <mechanism>PLAIN</mechanism>

      </mechanisms>

      <compression xmlns="http://jabber.org/features/compress">

      <method>zlib</method>

      </compression>

      <register xmlns="http://jabber.org/features/iq-register" />

      </stream:features>

      <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />

      <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />

      <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="domain.local" id="85wmxgkq87" xml:lang="ru" version="1.0">

      <features>

      <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">

      <mechanism>PLAIN</mechanism>

      </mechanisms>

      <compression xmlns="http://jabber.org/features/compress">

      <method>zlib</method>

      </compression>

      <register xmlns="http://jabber.org/features/iq-register" />

      </features>

      </stream:stream>

      <stream:features>

      <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">

      <mechanism>PLAIN</mechanism>

      </mechanisms>

      <compression xmlns="http://jabber.org/features/compress">

      <method>zlib</method>

      </compression>

      <register xmlns="http://jabber.org/features/iq-register" />

      </stream:features>

      <compress xmlns="http://jabber.org/protocol/compress">

      <method>zlib</method>

      </compress>

      <compressed xmlns="http://jabber.org/protocol/compress" />

      <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="domain.local" id="85wmxgkq87" xml:lang="ru" version="1.0">

      <features>

      <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">

      <mechanism>PLAIN</mechanism>

      </mechanisms>

      <register xmlns="http://jabber.org/features/iq-register" />

      </features>

      </stream:stream>

      <stream:features>

      <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">

      <mechanism>PLAIN</mechanism>

      </mechanisms>

      <register xmlns="http://jabber.org/features/iq-register" />

      </stream:features>

      <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">AGQuc2VyZW5rbwA=</auth>

      <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl">

      <not-authorized />

      </failure>

      <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">ZC5zZXJlbmtvQG9jYnBzLmxvY2FsAGQuc2VyZW5rbwA=</auth>

      <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl">

      <not-authorized />

      </failure>

      Pls, help to resolve problem. I presume it is incompatible  versions of OF and SASL plugin.