Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Net::XMPP in Win32 gets not-authorized, same code works 100% in Linux

by wilsond (Scribe)
on Jan 09, 2009 at 09:32 UTC ( [id://735129]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Net::XMPP in Win32 gets not-authorized, same code works 100% in Linux
in thread [fixed] Net::XMPP in Win32 gets not-authorized, same code works 100% in Linux

Here are the un-BASE64'd auth values being sent to the XMPP server.

In Windows:

authzid="bobthebuilder@example.com",charset=utf-8,cnonce="xxxxx1e3552e +9ea806f6411931b62b25",digest-uri="/",nc=00000001,nonce="xxxxx0dyy8ivm +M8JcDfy44rlPAvDprBeLWHfW4Ea",qop=auth,realm="example.com",response=xx +xxxd5b82f6faf7ed2feebcb70ba974,username="bobthebuilder"

In Linux:

authzid="bobthebuilder@example.com",charset=utf-8,cnonce="xxxxx895143c +dc97d8d8eada76acc50a",digest-uri="xmpp/example.com",nc=00000001,nonce +="xxxxx2YLz+OufKiUQ0zSBkaO1ntzY/Cpwg6+ns+l",qop=auth,realm="example.c +om",response=xxxxx7d0924f2093e95bc0da1b136092,username="bobthebuilder +"

It seems the Windows version is missing the digest-uri value. I'm going to bet that my problem is there.

Changing AuthSend to AuthIQAuth makes it work fine. This disables SASL. I'm not happy about it. Possibly TLS will take care of that? I'm going to find out.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://735129]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-18 22:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found