If you create an account apu@im.nocservices.com with password notifypass, put in the Perl script:
use constant USER => 'apu'; # user this script connects as
use constant SERVER => 'im.nocservices.com'; # Jabber server to connect to
use constant PASSWORD => 'notifypass'; # password associated with USER
Tried it with two different ejabberd accounts. Copy-and-pasted the username & password for the one brand-new one that this script will eventually use. The other is one that I already use with Adium as a client.
I am 100% positive I'm using the same username/password both with the working client and the non-working Perl script. Obviously, something is changing how it is presented to the server but I don't know where to look or what to try changing. Do I need to hash the password somehow before sending it? Something else?
The script tries to login
I hardcoded the recipient and message into my test script.
On the ejabberd (2.0.5) side, I get
The username/password is correct
Obviously it isn't correct.
If you create an accountapu@im.nocservices.com with password notifypass, put in the Perl script:
It works for me using ejabberd 2.0.5.
Tried it with two different
Tried it with two different ejabberd accounts. Copy-and-pasted the username & password for the one brand-new one that this script will eventually use. The other is one that I already use with Adium as a client.
I am 100% positive I'm using the same username/password both with the working client and the non-working Perl script. Obviously, something is changing how it is presented to the server but I don't know where to look or what to try changing. Do I need to hash the password somehow before sending it? Something else?