Hallo,
I have a problem:
After I upgraded ejabberd from 2.0.1-6 to 2.1.5-3, my external authentication stopped working.
I get following error:
=ERROR REPORT==== 2011-02-09 22:22:43 ===
E(<0.264.0>:extauth:124) : extauth call '["auth","*name*","*hostname*",
"*password*"]' didn't receive response
Before ejabber need a "0" or a "1" from script.
Now it isn' t accepted any more.
Which result is need to return now?
What changed in ejabberd or where is the problem?
friendly greetings
Andreas
Andreasx wrote: Which result
Which result is need to return now?
What changed in ejabberd or where is the problem?
That has not changed. You can see the example check_pass_null.pl got some new actions, but the existing ones have not changed.
This all happened after
This all happened after upgrade debian from lenny to squeeze.
Error in ejabberd.log:
=INFO REPORT==== 2011-02-18 00:43:05 ===
I(<0.359.0>:ejabberd_listener:232) : (#Port<0.1818>) Accepted connection {{IP-Adress},53631} -> {{IP-Adress},5222}
=ERROR REPORT==== 2011-02-18 00:44:05 ===
E(<0.268.0>:extauth:124) : extauth call '["auth","name","hostname.de",
"*password*"]' didn't receive response
=INFO REPORT==== 2011-02-18 00:44:05 ===
I(<0.365.0>:ejabberd_c2s:598) : ({socket_state,tls,{tlssock,#Port<0.1818>,#Port<0.1846>},<0.364.0>}) Failed authentication for name@hostname.de
prozess-list:
ejabberd 6582 0.0 0.0 1872 352 ? S 00:04 0:00 /usr/lib/erlang/erts-5.8/bin/epmd -daemon
ejabberd 7886 31.0 1.2 30632 25208 ? S 01:04 0:00 /usr/lib/erlang/erts-5.8/bin/beam -K false -P 250000 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/ejabberd -- -sname ejabberd -pa /usr/lib/ejabberd/ebin -s ejabberd -kernel inetrc "/etc/ejabberd/inetrc" -ejabberd config "/etc/ejabberd/ejabberd.cfg" log_path "/var/log/ejabberd/ejabberd.log" erlang_log_path "/var/log/ejabberd/erlang.log" -sasl sasl_error_logger false -mnesia dir "/var/lib/ejabberd" -smp disable -noshell -noshell -noinput
ejabberd 7906 1.5 0.6 49036 12644 ? Ss 01:04 0:00 /usr/bin/php /etc/ejabberd/check_auth.php
Maybee "-noshell -noshell -noinput" has something to do with the problem.
and in /etc/passwd, the shell changed from bash to sh
I thankful for any help!
Friendly greetings
Andreas