ejabberd - Comments for "Anonymous Login Not Authorized" https://www.ejabberd.im/node/3210 en Enable saslanon in jwchat https://www.ejabberd.im/node/3210#comment-54376 <p>It looks like you have to tell jwchat to use 'saslanon' or it will use normal login. To do this use:</p> <p>oArgs.authtype = 'saslanon'</p> <p>in the code that performs the login. If you want to do registered logins as well you might want to set that via a form input.</p> Sun, 21 Jun 2009 00:57:47 +0000 SpliFF comment 54376 at https://www.ejabberd.im looks like a client problem https://www.ejabberd.im/node/3210#comment-54374 <p><noindex><a href="http://xmpp.org/extensions/xep-0175.html" title="http://xmpp.org/extensions/xep-0175.html" rel="nofollow" >http://xmpp.org/extensions/xep-0175.html</a></noindex></p> <p>It says the client is supposed to respond to the streams information by choosing mechanism="ANONYMOUS". In my protocol dumps for jwchat I'm seeing jwchat choose mechanism="DIGEST-MD5" automatically without waiting to see what mechanisms are supported. Obvious conclusion then is that either http-bind or jwchat does not support anything but DIGEST-MD5.</p> <p>I saw a similar issue with pidgin where the server send ANONYMOUS as a supported stream method but pidgin still sent DIGEST-MD5 back.</p> <p>So short answer is that it appears many clients do not support anonymous login.</p> Sat, 20 Jun 2009 15:11:48 +0000 SpliFF comment 54374 at https://www.ejabberd.im I'm using the Psi Client and https://www.ejabberd.im/node/3210#comment-53574 <p>I'm using the Psi Client and JWChat installed on the server. Both will login if an account exists..but I'm getting Authentication Failed if logging in anonymously.</p> Mon, 22 Sep 2008 20:58:24 +0000 coopvr comment 53574 at https://www.ejabberd.im Two experiments and results https://www.ejabberd.im/node/3210#comment-53573 <p>If I put this:</p> <pre>{auth_method, anonymous}. {anonymous_protocol, login_anon}.</pre><p>I can:</p> <ul> <li>login to any account providing any password, but I need to disable STARTTLS and SASL authentification in the client. When I logout, the account roster, etc is deleted automatically.</li> </ul> <p>If I put this:</p> <pre>{auth_method, [internal, anonymous]}. {anonymous_protocol, login_anon}.</pre><p>I can:</p> <ul> <li>login to existing accounts if I provide the valid password. </li><li>login to any account that doesn't yet exist providing any password, but I need to disable STARTTLS and SASL authentification in the client. When I logout, the account roster, etc is deleted automatically. </li></ul> <p>I only tried those configurations. I used Tkabber and ejabberd trunk svn. I only tried the client in the same machine that the server.</p> <p>I didn't try the protocol sasl_anon because it requires a client that supports SASL Anonymous, and I only know a client that implements that: MUCkl.</p> Mon, 22 Sep 2008 16:52:00 +0000 mfoss comment 53573 at https://www.ejabberd.im Ok, here is some more https://www.ejabberd.im/node/3210#comment-53571 <p>Ok, here is some more feedback..</p> <p>It works if I run a test script on the server so anonymous is working from localhost:5222<br /> It does not allow anonymous logins from JWChat web client 5280 or my PSI windows client 5222 or 5223.</p> <p>So it appears something is not allowing anonymous logins from external IP's or connections?</p> <p>Hope this helps. I still have not figured out what to do about it.</p> Mon, 22 Sep 2008 02:38:21 +0000 coopvr comment 53571 at https://www.ejabberd.im Ok, I have tried everything https://www.ejabberd.im/node/3210#comment-53569 <p>Ok, I have tried everything to no avail....I'll wait for some expert advise. Thanks.</p> Fri, 19 Sep 2008 22:53:41 +0000 coopvr comment 53569 at https://www.ejabberd.im Here is what my log file https://www.ejabberd.im/node/3210#comment-53568 <p>Here is what my log file returned..</p> <p>=INFO REPORT==== 2008-09-19 14:28:19 ===<br /> I(&lt;0.435.0&gt;:ejabberd_c2s:710) : ({socket_state,tls,{tlssock,#Port&lt;0.418&gt;,#Port&lt;0.420&gt;},&lt;0.434.0&gt;}) Failed authentication for <noindex><a href="mailto:anon@cooprentals.com" rel="nofollow" >anon@cooprentals.com</a></noindex></p> Fri, 19 Sep 2008 21:35:12 +0000 coopvr comment 53568 at https://www.ejabberd.im