<div dir="ltr">On Thu, Sep 11, 2008 at 12:31 AM, Ovidiu Craciun <span dir="ltr"><<a href="mailto:Ovidiu.Craciun@philips.com">Ovidiu.Craciun@philips.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Any idea what I am missing, why the code is working for one user and not for the other? Thanks! O.</blockquote><div><br>My guess is that the wrong password is being sent for the second user.<br><br>btw, those strings can easily be decoded by running `fold -w 79 | openssl base64 -d` (and pasting in the base64 data)<br>
<br>Once you decode the values it's easy to see that user1=jabber_client_sub and user2=JabberTest_1<br><br>The response values is defined in section <a href="http://2.1.2.1">2.1.2.1</a> of rfc2831, so I suggest you double check that first.<br>
<br>If you want an easy way to check the clients have the correct password, then disable digest-md5, and/or force PLAIN. This will make the base64 decoded data contain the password directly, which is obviously _VERY_ unsafe for a non-encrypted connection, but it does make debugging much easier.<br>
</div></div><br>-- <br>- Norman Rasmussen<br> - Email: <a href="mailto:norman@rasmussen.co.za">norman@rasmussen.co.za</a><br> - Home page: <a href="http://norman.rasmussen.co.za/">http://norman.rasmussen.co.za/</a><br>
</div>