[jdev] Problem in SASL authentication

Jakob Schroeter js at camaya.net
Thu Apr 19 03:01:42 CDT 2007

On Thu Apr 19 2007, Juhana Koski wrote:
> Hi,
> I´m developing XMPP-client in S60 environment and I´m having
> difficulties in authentication process. I´m trying to connect to
> jabber.org server. But after I have started SASL-negotiation and I have
> sent my first SASL response server returns "not-authorized" stanza to
> me. Any Ideas what is the reason? I´m not using TLS. Should I inform the
> server about it? I prefer to not use it because it´s not so straight
> forward to use it in s60 environment.
> Communication goes like this:
> [...]
> Encoded response is:
> username='juhana',realm='',nonce='119994706',cnonce='1213112575673452',nc=0

You need a realm here, e.g. jabber.org. Although I'm not sure how strictly 
this is being handled, it may be worthwhile trying to use double quotes.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20070419/6c80e598/attachment-0002.pgp>

More information about the JDev mailing list