Re: [jdev] Bug in jabberd2 (2.1.13) on win32

2008-01-31 Thread Tomasz Sterna
On Śr, 2008-01-30 at 15:55 -0800, Dan Hulme wrote:
 I am using Spark primarily.  However, it did not work on PSI or
 Coccinella either.

Was that Psi recent enough?  (0.11+)
Please see http://jabberd2.xiaoka.com/wiki/ClientCompatibility


-- 
  /\_./o__ Tomasz Sterna
 (/^/(_^^' http://www.xiaoka.com/
._.(_.)_   im:[EMAIL PROTECTED]



Re: [jdev] Bug in jabberd2 (2.1.13) on win32

2008-01-31 Thread Adam Strzelecki

Oh, and all three work with SASL on the previous build (the one with
Cyrus SASL).


Then it must be still something wrong with GSASL, I'll try to test it.

You don't use DIGEST-MD5 together with NTLOGON auth module, do you?  
Coz NTLOGON work only with PLAIN, as it cannot do any digest  
authentication with Windows API.


Currently I'm using PLAIN+TLS+NTLOGON at my company and it works just  
fine with Adium and Miranda. So, it must have something to do with  
DIGIEST-MD5 or other auth methods.


Do you have any XML logs where the connection stucks with server?

Regards,
--
Adam Strzelecki |: nanoant.com :|



Re: [jdev] Bug in jabberd2 (2.1.13) on win32

2008-01-31 Thread Tomasz Sterna
On Cz, 2008-01-31 at 12:00 +0100, Adam Strzelecki wrote:
 Then it must be still something wrong with GSASL, I'll try to test it.

Or with the client.
Most older ones have broken SASL implementations.

-- 
  /\_./o__ Tomasz Sterna
 (/^/(_^^' http://www.xiaoka.com/
._.(_.)_   im:[EMAIL PROTECTED]



Re: [jdev] Bug in jabberd2 (2.1.13) on win32

2008-01-31 Thread Dan Hulme
I'm using plain auth (with and without ntlogon).  I've tested with
Spark 2.5.8, Coccinella .96.4.1, and PSI 0.11.  All have the same
problem, they hang or return an error when doing SASL.  I'd like to
repeat for Thomas' sake that all three worked on the previous build
which used Cyrus SASL.

You say you are using TLS...have you tried SASL?

Here is a Coccinella log of it failing:
--
?xml version='1.0' encoding='UTF-8'?stream:stream
xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'
xml:lang='en' to='chatter.example.com' version='1.0'?xml
version='1.0'?stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
from='chatter.example.com' version='1.0'
id='8pagx0e4s4hanl8fnsr3ou05bnhrvapuhgd0uu50'stream:features
xmlns:stream='http://etherx.jabber.org/streams'mechanisms
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'mechanismPLAIN/mechanism/mechanismsauth
xmlns='http://jabber.org/features/iq-auth'//stream:featuresauth
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'
mechanism='PLAIN'ZGFuaFBjaGE0LmllbWSnLmNvcQBKYW5oAE9CRVNFWA==/authsuccess
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/stream:stream
xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'
to='chatter.example.com' xml:lang='en'  version='1.0'?xml
version='1.0'?stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
from='chatter.example.com' version='1.0'
id='kncfraylp37okkurdzou43ns0gouuj44g1b5v52i'
stream:features xmlns:stream='http://etherx.jabber.org/streams'bind
xmlns='urn:ietf:params:xml:ns:xmpp-bind'required//bindunbind
xmlns='urn:ietf:params:xml:ns:xmpp-bind'/session
xmlns='urn:ietf:params:xml:ns:xmpp-session'//stream:featuresiq
type='set' id='1038'bind
xmlns='urn:ietf:params:xml:ns:xmpp-bind'resource[EMAIL 
PROTECTED]/resource/bind/iqstream:error
xmlns:stream='http://etherx.jabber.org/streams'internal-server-error
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/text
xmlns='urn:ietf:params:xml:ns:xmpp-streams'internal server
error/text/stream:error/stream:stream/stream:stream
--

Here is a PSI log of it failing:
--
?xml version=1.0?
stream:stream xmlns:stream=http://etherx.jabber.org/streams;
version=1.0 xmlns=jabber:client to=chatter.example.com
xml:lang=en xmlns:xml=http://www.w3.org/XML/1998/namespace; 
?xml version='1.0'?stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
from='chatter.example.com' version='1.0'
id='x9f8vk6mqnietkkd0u1qn2yy3sacgegfn0sp5jd3'
stream:features
mechanisms xmlns=urn:ietf:params:xml:ns:xmpp-sasl
mechanismPLAIN/mechanism
/mechanisms
auth xmlns=http://jabber.org/features/iq-auth/
register xmlns=http://jabber.org/features/iq-register/
/stream:features
auth xmlns=urn:ietf:params:xml:ns:xmpp-sasl mechanism=PLAIN
AHRvanllAbZhdGchdGZhdA==/auth
success xmlns=urn:ietf:params:xml:ns:xmpp-sasl/
?xml version=1.0?
stream:stream xmlns:stream=http://etherx.jabber.org/streams;
version=1.0 xmlns=jabber:client to=chatter.example.com
xml:lang=en xmlns:xml=http://www.w3.org/XML/1998/namespace; 
?xml version='1.0'?stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
from='chatter.example.com' version='1.0'
id='oweh5z1u573c5x4k9hq73fpittrpvze7en1qwncw'
stream:features
bind xmlns=urn:ietf:params:xml:ns:xmpp-bind
required/
/bind
unbind xmlns=urn:ietf:params:xml:ns:xmpp-bind/
session xmlns=urn:ietf:params:xml:ns:xmpp-session/
/stream:features
iq type=set id=bind_1 
bind xmlns=urn:ietf:params:xml:ns:xmpp-bind
resourceclient-resource/resource
/bind
/iq
--
(When PSI fails, it causes a popup that says details: disconnected)

-Dan

On Jan 31, 2008 5:25 AM, Tomasz Sterna [EMAIL PROTECTED] wrote:
 On Cz, 2008-01-31 at 12:00 +0100, Adam Strzelecki wrote:
  Then it must be still something wrong with GSASL, I'll try to test it.

 Or with the client.
 Most older ones have broken SASL implementations.

 --

   /\_./o__ Tomasz Sterna
  (/^/(_^^' http://www.xiaoka.com/
 ._.(_.)_   im:[EMAIL PROTECTED]