Subject: | Error (invalid client_new params) during SASL authentication |
I got the following backtrace while trying to connect
Log::Dispatch::Jabber to jabber.eu (which uses SASL authentication).
The following line can be found in Stream.pm
$self->{SIDS}->{$sid}->{sasl}->{client} = $sasl->client_new();
while it seems client_new expects at least two parameters (service and
host).
Usage: Authen::SASL::Cyrus::client_new(pkg, parent, service, host,
iplocalport = NULL, ipremoteport = NULL) at
/usr/share/perl5/Authen/SASL.pm line 74.
at /usr/share/perl5/Authen/SASL.pm line 73
Authen::SASL::client_new('Authen::SASL=HASH(0x8e52d68)') called at
/usr/share/perl5/XML/Stream.pm line 2123
XML::Stream::SASLClient('XML::Stream=HASH(0x8206e3c)', 1386672598,
'Mekk', 'thoeghei') called at
/usr/local/share/perl/5.8.8/Net/XMPP/Protocol.pm line 1921
Net::XMPP::Protocol::AuthSASL('Net::Jabber::Client=HASH(0x8206968)')
called at /usr/local/share/perl/5.8.8/Net/XMPP/Protocol.pm line 1770
Net::XMPP::Protocol::AuthSend('Net::Jabber::Client=HASH(0x8206968)')
called at /usr/local/share/perl/5.8.8/Log/Dispatch/Jabber.pm line 281
Log::Dispatch::Jabber::_send('Log::Dispatch::Jabber=HASH(0x8206938)')
called at /usr/local/share/perl/5.8.8/Log/Dispatch/Jabber.pm line 250
Log::Dispatch::Jabber::log_message('Log::Dispatch::Jabber=HASH(0x8206938)',
'level', 'alert', 'name', 'jabberlog', 'message', 'This is alert
message\x{a}') called at /usr/share/perl5/Log/Dispatch/Output.pm line 41
(... the rest not important here ...)
Versions:
perl - 5.8.8 (debian)
Authen::SASL - 2.10 (newest on CPAN at the moment)
XML::Stream - 1.22 (as above)
OS - Debian testing