ejabberd - Comments for "Cannot register to our server" https://www.ejabberd.im/node/3350 en EJAB-803 https://www.ejabberd.im/node/3350#comment-53909 <p>This could be relevant: <noindex><a href="https://support.process-one.net/browse/EJAB-803" title="https://support.process-one.net/browse/EJAB-803" rel="nofollow" >https://support.process-one.net/browse/EJAB-803</a></noindex></p> Fri, 09 Jan 2009 09:44:45 +0000 skupko comment 53909 at https://www.ejabberd.im Problem solved https://www.ejabberd.im/node/3350#comment-53908 <p>Just to inform everybody:<br /> I was correct in my opinion - <strong>there was conflict in names of access rights - 'register' - in config</strong>. Maybe this could be bug in parsing of configuration - these access rule 'register' configured in general section would be 'overwritten' by the value of vhost config option. Or there is other option how to solve this 'issue' - these overwrites would be detected as misconfiguration by the start of ejabberd...(I hope you understand what I supposed) :-)<br /> I was able test this on our public server because ejabberd supports dynamically unload modules, change most of configuration options without need to restart service or to interrupt service in other way. Thank you guys from ProcessOne for this great server - it's amazing - I don't have another words!</p> <p>There are <strong>two possible solutions</strong> to enable registration of new accounts on our server:<br /> 1) when <strong>I removed access rule {register [{deny,all}]}. </strong> from general configuration and leave other configuration as it is - done via web interface dynamically!<br /> 2) when <strong>I renamed access rule in vhost configuration (for example: register_jabber_sk)</strong> and appropriately change access rule definition for register module configured in vhost configuration - this could by done via web interface and without restart of the service too!</p> <p>Our server is runing well with my second 'solution'. So our config looks like this:</p> <div class="codeblock"><code>{access, register, [{deny, all}]}.<br />%%... some other configuration options...<br />{modules,<br />%%... some modules here...<br />]}. <p>{host_config, &quot;jabber.sk&quot;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [{auth_method,&nbsp;&nbsp; internal},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {access, register_jabber_sk, [{allow, all}]},<br />%%... some other configuration here...<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {mod_register, [{welcome_message, {&quot;BLA&quot;, &quot;blabla&quot;}},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {registration_watchers, [&quot;xxx@jabber.sk&quot;, &quot;xxx@jabber.sk&quot;, &quot;xxx@jabber.sk&quot;]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {access, register_jabber_sk}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]},<br />%%... some other configuration here...<br />]}.</p></code></div> Thu, 08 Jan 2009 21:28:13 +0000 skupko comment 53908 at https://www.ejabberd.im