[jdev] tls + plain sasl not working

Norman Rasmussen norman at rasmussen.co.za
Wed Mar 22 05:14:35 CST 2006


shouldn't:

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

be

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

are you missing the space?

On 3/22/06, Adrian Adrian <flashbk2003 at yahoo.com> wrote:
> Hello,
>
>  I want to comunicate with and IM server (Wildfire) through TLS on port 5222
> using SASL plain text authentication according to RFC 3920
>
>  Basically I start a stream, server shows me the auth mechanisms, I send
> startls command, server says proceed, I start a new stream, server shows me
> the auth mechanisms, I select PLAIN and the server shuts me off.
>
>
>  Here's the communication :
>
>  CLIENT : <?xml version="1.0"?><flash:stream to="192.168.11.3"
> xmlns="jabber:client"
> xmlns:flash="http://www.jabber.com/streams/flash"
> version="1.0">
>  SERVER  <?xml version='1.0' encoding='UTF-8'?><flash:stream
> xmlns:flash="http://www.jabber.com/streams/flash"
> xmlns:stream="http://etherx.jabber.org/streams"
> xmlns="jabber:client" from="192.168.11.3" id="5bbdf7a3" xml:lang="en"
> version="1.0"><stream:features><starttls
> xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms
> xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><auth
> xmlns="http://jabber.org/features/iq-auth"/><register
> xmlns="http://jabber.org/features/iq-register"/></stream:features>
>  CLIENT <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
>  SERVER <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
>  CLIENT <?xml version="1.0"?><flash:stream to="192.168.11.3"
> xmlns="jabber:client"
> xmlns:flash="http://www.jabber.com/streams/flash"
> version="1.0">
>  SERVER <?xml version='1.0' encoding='UTF-8'?><flash:stream
> xmlns:flash="http://www.jabber.com/streams/flash"
> xmlns:stream="http://etherx.jabber.org/streams"
> xmlns="jabber:client" from="192.168.11.3" id="e6661ae8" xml:lang="en"
> version="1.0"><stream:features><starttls
> xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms
> xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><auth
> xmlns="http://jabber.org/features/iq-auth"/><register
> xmlns="http://jabber.org/features/iq-register"/></stream:features>
>  CLIENT <auth
> xmlns='urn:ietf:params:xml:ns:xmpp-sasl'mechanism='PLAIN'/>
>  SERVER <failure
> xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
>
>  As you can see, although the server advertises the PLAIN mechanism, it
> doesn't let me connect to it. Why ?
>
>  Thanks.
>
>  PS here's the wildfire error log :
>
>
>
>
>
>
>
>  ________________________________
> Yahoo! Mail
>  Bring photos to life! New PhotoMail makes sharing a breeze.
>
>


--
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list