ejabberd - Comments for "how to enforce users to use specific ejabberd client[SOLVED]" https://www.ejabberd.im/forum/28590/how-enforce-users-use-specific-ejabberd-clientsolved en brilliant idea, thanks a lot https://www.ejabberd.im/forum/28590/how-enforce-users-use-specific-ejabberd-clientsolved#comment-67166 <p>brilliant idea, thanks a lot Mr badlop.</p> Fri, 28 Oct 2016 15:26:06 +0000 joe1987 comment 67166 at https://www.ejabberd.im Not initially possible. https://www.ejabberd.im/forum/28590/how-enforce-users-use-specific-ejabberd-clientsolved#comment-67164 <p>Not initially possible. ejabberd doesn't provide any similar feature, and I am not aware of any patch or moule to implement it.</p> <p>On the other hand, a simple and tricky way is to modify some part of the authentication code, then only the clients that implement that non-standard authentication will be able to login. For example, ejabberd provides those auth mechanisms:</p> <pre> &lt;stream:features&gt; &lt;c hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='PXc8x7mNN6cEIZgjsEishHW4d3E=' xmlns='http://jabber.org/protocol/caps'/&gt; &lt;register xmlns='http://jabber.org/features/iq-register'/&gt; &lt;starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/&gt; &lt;mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'&gt; &lt;mechanism&gt;SCRAM-SHA-1&lt;/mechanism&gt; &lt;/mechanisms&gt; &lt;/stream:features&gt; </pre><p>You can tweak ejabberd source code so instead of SCRAM-SHA-1, it offers the non-standard JOE mechanism, that is simply SCRAM renamed. Then tweak your custom client, so it knows that JOE is the same that SCRAM.</p> Fri, 28 Oct 2016 15:17:24 +0000 badlop comment 67164 at https://www.ejabberd.im