<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks for your reply. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The password is not set wrongly, this is what I checked first,
something else is going on…<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
jdev-bounces@jabber.org [mailto:jdev-bounces@jabber.org] <b>On Behalf Of </b>Norman
Rasmussen<br>
<b>Sent:</b> Thursday, September 11, 2008 2:54 AM<br>
<b>To:</b> Jabber/XMPP software development list<br>
<b>Subject:</b> Re: [jdev] auth code failes<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal>On Thu, Sep 11, 2008 at 12:31 AM, Ovidiu Craciun <<a
href="mailto:Ovidiu.Craciun@philips.com">Ovidiu.Craciun@philips.com</a>>
wrote:<o:p></o:p></p>
<div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<p class=MsoNormal>Any idea what I am missing, why the code is working for one
user and not for the other? Thanks! O.<o:p></o:p></p>
</blockquote>
<div>
<p class=MsoNormal><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.<o:p></o:p></p>
</div>
</div>
<p class=MsoNormal><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><o:p></o:p></p>
</div>
</div>
</body>
</html>