A way to disable digest-uri SASL authenticaiton / or a command line client that can handle it?

I've been trying to write a PERL script to send messages to jabber users and rooms in our automation. I first tried the Net-Jabber CPAN module. I also tried the command line tool 'sendxmpp', and at least one other PERL module. My boss has tried a ruby library that also fails to connect. We currently use Zephyr which we're trying to move away from (but is very easy to script).

The issue we can't get past is finding a client that sends something other than "/" for a digest-uri for SASL authentication. Does anyone know of a command-line tool or PERL library that can handle the SASL authentication?

(thanks in advance!)

Jay

***************

Here's some debug output ~

from sendxmpp with debug turned on :

[command = sendxmpp -u testbot@jabber-test-server.[company name].com -p -r testBot -s "test subject" -d -v -m "test message" ]

*XML::Stream: Send: (YXV0aHppZD0idGVzdGJvdEBqYWJiZXItdGVzdC1zZXJ2ZXIucGVybWFiaXQuY29tQGphYmJlci10ZXN0LXNlcnZlci5wZXJtYWJpdC5jb20iLGNoYXJzZXQ9dXRmLTgsY25vbmNlPSJlMGJiZGRkYjMyNGU5ZTdiZDU0Y2RiNDMxZTNhNmI3MCIsZGlnZXN0LXVyaT0iLyIsbmM9MDAwMDAwMDEsbm9uY2U9IjEyNjE4NTg4NjUiLHFvcD1hdXRoLHJlc3BvbnNlPWI5MDY4NjY1NTRjZGQyZjMyNTY4ZmFjMjg0YzZmNTE4LHVzZXJuYW1lPSJ0ZXN0Ym90QGphYmJlci10ZXN0LXNlcnZlci5wZXJtYWJpdC5jb20i)
XML::Stream: Process: block(0)
XMPP::Conn: AuthSASL: haven't authed yet... let's wait.
XMPP::Conn: Process: timeout(1)
XML::Stream: Read: buff()
XML::Stream: Node: _handle_element: sid(825467460) sax(XML::Stream::Parser=HASH(0x87bab68)) tag(failure) att( xmlns urn:ietf:params:xml:ns:xmpp-sasl )
XML::Stream: Node: _handle_element: check( -1 )
XML::Stream: Node: _handle_element: sid(825467460) sax(XML::Stream::Parser=HASH(0x87bab68)) tag(not-authorized) att( )
XML::Stream: Node: _handle_element: check( 0 )
XML::Stream: Node: _handle_close: sid(825467460) sax(XML::Stream::Parser=HASH(0x87bab68)) tag(not-authorized)
XML::Stream: Node: _handle_close: check( 1 )
XML::Stream: Node: _handle_close: check2( 0 )
XML::Stream: Node: _handle_close: sid(825467460) sax(XML::Stream::Parser=HASH(0x87bab68)) tag(failure)
XML::Stream: Node: _handle_close: check( 0 )
XML::Stream: Node: _handle_close: check2( -1 )
XML::Stream: Process: block(0)
XMPP::Conn: AuthSASL: Authentication failed.
Error 'AuthSend': error: not-authorized[?]
XML::Stream: Send: ()

from the jabber server at debug lvl 5

=INFO REPORT==== 2009-09-17 10:15:00 ===
D(<0.1251.0>:cyrsasl_digest:69) : User login not authorized because digest-uri seems invalid: *"/"*

=INFO REPORT==== 2009-09-17 10:15:00 ===
I(<0.1251.0>:ejabberd_c2s:724) : ({socket_state,gen_tcp,#Port<0.663>,<0.1250.0>}) Failed authentication for testbot@jabber-test-server.[company].com@jabber-test-server.[company].com

If you refer to this

If you refer to this verification that was implemented a while ago: SASL digest authentication does not check digest-uri

You can apply the patch in reverse mode and recompile ejabberd: Patch to verify digest-uri

Hey, have you been able to

Hey,

have you been able to solve this issue, yet ? I too am using sendxmpp and stumbled uppon this problem when I tried to migrate my scripts from an openfire to an ejabberd server.

Syndicate content