ejabberd - Comments for "sucessfule login with Null password and NULL name" https://www.ejabberd.im/node/4095 en Are you sure it's a problem in ejabberd? https://www.ejabberd.im/node/4095#comment-56025 <div class="quote-msg"> <div class="quote-author"><em>bbsqbbsq</em> wrote:</div> <p>gloox sent account name like"@domain.com" and null password to ejabberd server,<br /> ejabberd server received account info.<br /> ejabberd server should sent this info to the extauth script,<br /> but the situation is script get nothing. </p></div> <p>I can't see in your log the stanza that you send to provide the auth information "@domain" and null password. If you don't send that info, ejabberd doesn't receive the account info, and doesn't call the extauth script.</p> <div class="quote-msg"> <div class="quote-author"><em>bbsqbbsq</em> wrote:</div> <p>ejabberd server do not accept it, no connection in webadmin, and others will not receive message. </p></div> <p>So, ejabberd doesn't accept the client authentication, neither rejects it. ejabberd simply didn't yet evaluate the client authentication, because the client didn't yet provide it. Until then, the client messages are blocked.</p> <div class="quote-msg"> <div class="quote-author"><em>bbsqbbsq</em> wrote:</div> <p>gloox seems accept true authentication from ejabberd server, start to send message to others, </p></div> <p>Well, that seems a bug in gloox, or in your client.</p> <div class="quote-msg"> <div class="quote-author"><em>bbsqbbsq</em> wrote:</div> <p>sucessfule login with Null password and NULL name </p></div> <p>That is false, according to the logs and the explanation you provided. It seems that this happens: ejabberd does not successfully login that misterious client; it is only the client who thinks it was successfully logged in.</p> Tue, 08 Jun 2010 08:02:37 +0000 mfoss comment 56025 at https://www.ejabberd.im 1.yes2.yes3.not provide https://www.ejabberd.im/node/4095#comment-56024 <p>1.yes<br /> 2.yes<br /> 3.not provide password<br /> 4.there is no connection displayed in ejabberd WebAdmin.<br /> 5.yes<br /> 6.no</p> <p>gloox sent account name like"@domain.com" and null password to ejabberd server,ejabberd server received account info.ejabberd server should sent this info to the extauth script,but the situation is script get nothing.so there is no ture or false authentcation return to ejabberd server or ,and there will also be no ture or false return to gloox.But the strange thing comes, gloox seems accept true authentication from ejabberd server, start to send message to others, but ejabberd server do not accept it, no connection in webadmin, and others will not receive message.</p> Tue, 08 Jun 2010 03:40:28 +0000 bbsqbbsq comment 56024 at https://www.ejabberd.im Let's see if I understood this https://www.ejabberd.im/node/4095#comment-56023 <p>You say that you:</p> <ol> <li>configured ejabberd to use extauth, a drupal php script </li><li>connect to ejabberd with a custom client that uses gloox </li><li>the client does not provide any authentication </li><li>the client connection is displayed in ejabberd WebAdmin. If the client didn't provide any auth information, what do you see in WebAdmin exactly? </li><li>The client sends messages </li><li>And the destinations receive those messages </li></ol> <p>Is all this correct?</p> Mon, 07 Jun 2010 16:29:27 +0000 mfoss comment 56023 at https://www.ejabberd.im %{auth_method, https://www.ejabberd.im/node/4095#comment-56021 <div class="codeblock"><code>%{auth_method, internal}. <p>%%<br />%% Authentication using external script<br />%% Make sure the script is executable by ejabberd.<br />%%<br />{auth_method, external}.<br />{extauth_program, &quot;/home/ejabberd_auth.php&quot;}.<br />{extauth_cache,false}.<br />%%</p></code></div> <p>I use drupal php script.It is strange,and another strange thing comes.I change my drupal account password.Then I use gloox client with the old password and the same account. This time get the same thing like above said.But it seems fake login,because I do not see this account online.I think it is the script bug.</p> Mon, 07 Jun 2010 13:12:56 +0000 bbsqbbsq comment 56021 at https://www.ejabberd.im bbsqbbsq wrote: I setup https://www.ejabberd.im/node/4095#comment-56019 <div class="quote-msg"> <div class="quote-author"><em>bbsqbbsq</em> wrote:</div> <p>I setup ejabberd,and use external auth.I use gloox for client.when I set jid to "@domain.com" and password to "" .it success login to the ejabberd server.</p></div> <p>Is this 100% reproducible? How do you configure auth in ejabberd.cfg, and what extauth script do you use?</p> Mon, 07 Jun 2010 10:46:31 +0000 mfoss comment 56019 at https://www.ejabberd.im It seems external script will https://www.ejabberd.im/node/4095#comment-55862 <p>It seems external script will not get stdin in this situation.</p> Mon, 07 Jun 2010 04:01:26 +0000 bbsqbbsq comment 55862 at https://www.ejabberd.im