Jun 21, 2007 7:57 AM
Openfire + JsJac = server response with wrong rspauth
Hi everybody,
I have an error when I try to connect Openfire 3.3.1 server with the JsJac 0.6.1 simpleclient.
Something is wrong with the SASL authentication but why?
If somebody can help me it would be great!
The JsJac debugger said:
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCParseStreamFeatures
<body xmlns="http://jabber.org/protocol/httpbind" xmlns:stream="http://etherx.jabber.org/streams" authid="cff1185f" sid="cff1185f" secure="true" requests="2" inactivity="30" polling="5" wait="300"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mec hanism><mechanism>PLAIN</mechanism></mechanisms><compres sion xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features></bo dy>
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCParseStreamFeatures
SASL detected
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuth
SASL using mechanism ''DIGEST-MD5''
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S1
<body xmlns=''http://jabber.org/protocol/httpbind''><challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09Im9wZW5maXJlLmlkZWVsaWMub20 iLG5vbmNlPSIzTE5Pb3g2Y3dqMDd0SWxaYVMxWGppalZtMU9FNVBwOEZySDk0VUpnIixxb3A9ImF1dGg iLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz</challenge></body>
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S1
got challenge: realm="myserver.com",nonce="3LNOox6cwj07tIlZaS1XjijVm1OE5Pp8FrH94UJg",qop="auth ",charset=utf-8,algorithm=md5-sess
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S1
nonce: 3LNOox6cwj07tIlZaS1XjijVm1OE5Pp8FrH94UJg
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S1
response: username="jojoba",realm="openfire.ideelic.om",nonce="3LNOox6cwj07tIlZaS1XjijVm1 OE5Pp8FrH94UJg",cnonce="BMBLAJIIELDGMB",nc="00000001",qop=auth,digest-uri="xmpp/ openfire.ideelic.om",response="72c4a14f06d27881c23ef146dea59bf5",charset=utf-8
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S2
<body xmlns=''http://jabber.org/protocol/httpbind''><failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure ></body>
jeudi 21 juin 2007 14:40:11 (level 1) func: JSJaCSASLAuthDigestMd5S2
auth error: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure >
jeudi 21 juin 2007 14:40:11 (level 2) func: unknown
handling event ''status_changed''
jeudi 21 juin 2007 14:40:11 (level 0) func: handleStatusChange
status changed: disconnecting
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCHBCDisconnect
Disconnected: <body xmlns="http://jabber.org/protocol/httpbind"></body>
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S2
response:
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S2
rspauth:
jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S2
rsptest: 211cc4d8e29ea63edb71a6280dcdf8e1
jeudi 21 juin 2007 14:40:11 (level 1) func: JSJaCSASLAuthDigestMd5S2
SASL Digest-MD5: server repsonse with wrong rspauth
*
Message was edited by: Caolga