Good point. <br> One more question: In which format should I send the base64 information ? <br> I tried : <br> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl"mechanism="PLAIN">'+Base64.Encode("<username>adi</username><password>secret</password>")+"</auth><br> <br>I guess the nodes <username> and <password> are not the right ones but I can't find anywhere the right syntax for the auth node. <br> <br> Thank you. <br> <br><b><i>Norman Rasmussen <norman@rasmussen.co.za></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> you should be sending:<br><br><auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><br></auth> <pre><tt><auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl"<br>mechanism="PLAIN">{base64 data here}</auth></tt></pre> <br><br>That's the way PLAIN works, DIGEST-MD5 doesn't have an initial client<br>to server payload, so that's
why it's empty in the examples.<br><br>On 3/22/06, Adrian Adrian <flashbk2003 @yahoo.com=""> wrote:<br>> Hey Normann,<br>><br>> No, I don't think so.<br>> According to the xmpp RFC3920 specifications<br>> (http://www.xmpp.org/specs/rfc3920.html#tls )<br>> I need to select the mechanism first. The credentials are sent through an<br>> iq packet after the negotiation ended.<br>><br>> Adrian.<br>><br>><br>><br>><br>><br>><br>><br>><br>> Norman Rasmussen <norman @rasmussen.co.za=""> wrote:<br>><br>> shouldn't you be sending the PLAIN data in the auth request? i.e.<br>> take the username and password, base64 encode them, and send them as<br>> part of the auth stanza.<br>><br>> --<br>> - Norman Rasmussen<br>> - Email: norman@rasmussen.co.za<br>> - Home page: http://norman.rasmussen.co.za/<br>><br>><br>><br>> ________________________________<br>> Yahoo! Mail<br>> Bring photos to life!
New PhotoMail makes sharing a breeze.<br>><br>><br><br><br>--<br>- Norman Rasmussen<br> - Email: norman@rasmussen.co.za<br> - Home page: http://norman.rasmussen.co.za/<br></norman></flashbk2003></blockquote><br><p>
                <hr size=1> Yahoo! Mail<br>
<a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=38867/*http://photomail.mail.yahoo.com">Use Photomail</a> to share photos without annoying attachments.