ejabberd - Comments for "ExtAuth with Linux Shell Script is not Working it seems. [eJabberd 1.1.4]" https://www.ejabberd.im/node/2694 en pcvarma wrote: The script https://www.ejabberd.im/node/2694#comment-51213 <div class="quote-msg"> <div class="quote-author"><em>pcvarma</em> wrote:</div> <p>The script keep on trying to read some thing from the Standard INPUT. But nothing is available forever.</p></div> <p>I tried your config and script, and I get the same result that you: nothing is received by the script.</p> <p>Then I tried the code used by ejabberd, rawly, with a simpler shell script based in your example. And didn't work either. It's interesting that there isn't any shell script for ejabberd' extauth.</p> <p>By the way, ejabberd uses the 'Port drivers' feature included in Erlang for this purpose. Maybe <noindex><a href="http://www.erlang.org/doc/tutorial/c_portdriver.html" rel="nofollow" >the documentation</a></noindex> gives you some clue on the problem.</p> <div class="quote-msg"> <div class="quote-author"><em>pcvarma</em> wrote:</div> <pre>% For authentication via external script use the following: {auth_method, external}. {extauth_program, "/home/ejabberd-1.1.4/auth/authConnector.sh"}. % Host name: {hosts, ["im.server.org","guest.server.org"]}. {host_config, "im.server.org", [{auth_method, external}]}.</pre></div> <p>If you already defined as global auth method 'external', you don't need that 'host_config' option. Anyway, that doesn't help this problem.</p> Mon, 12 Nov 2007 10:45:42 +0000 mfoss comment 51213 at https://www.ejabberd.im