ejabberd - Comments for "account specific external auth problems" https://www.ejabberd.im/node/3274 en More data on that issue - please help! https://www.ejabberd.im/node/3274#comment-53791 <p>We are still struggling with this problem. Some more facts we've discovered:<br /> 1. Problem happened only with 6-letter user names.<br /> 2. problem occurs somewhere between erlang port driver and python script. Our printout in erlang shows perfectly formed 'isuser' request, but python getting exception as described in original post.<br /> 3. The problem looks box specific, i.e some boxes have this problem even after re-installation of ejabberd,<br /> other machines are fine. </p> <p>Please, any ideas or suggestions!<br /> Thanks,<br /> -Igor.</p> Fri, 28 Nov 2008 21:46:47 +0000 dikman comment 53791 at https://www.ejabberd.im Some vague test ideas https://www.ejabberd.im/node/3274#comment-53732 <div class="quote-msg"> <div class="quote-author"><em>dikman</em> wrote:</div> <p>Any ideas or recommendations how to fix the problem are highly appreciated. </p></div> <p>It is impossible to fix the problem if the reason for the problem is unknown.</p> <p>I don't know what is the reason of the problem. If you want to see what does ejabberd prepare to send, you can apply this patch to ejabberd 2.0.2 file extauth.erl, then compile and overwrite in your installed ejabberd. You can compile in Linux and copy the extauth.beam to your Windows machine. But I don't know if that will help you to find the problem.</p> <pre> --- extauth.erl (revisiĆ³n: 1672) +++ extauth.erl (copia de trabajo) @@ -64,7 +64,9 @@ loop(Port) -&gt; receive {call, Caller, Msg} -&gt; - Port ! {self(), {command, encode(Msg)}}, + Encoded = encode(Msg), + Port ! {self(), {command, Encoded}}, + ?INFO_MSG("The message:~n ~p~nis encoded into:~n ~p~n", [Msg, Encoded]), receive {Port, {data, Data}} -&gt; Caller ! {eauth, decode(Data)} </pre><div class="quote-msg"> <div class="quote-author"><em>dikman</em> wrote:</div> <p>I'm running ejabberd2.0.2_2 under Windows with external authentication python script </p></div> <p>You can check with a network sniffer (like Wireshark) that ejabberd really sends strange packet.</p> <p>You can try a different extauth script, like the example Perl script.</p> Mon, 10 Nov 2008 11:34:02 +0000 mfoss comment 53732 at https://www.ejabberd.im