title: Ejabberd and in-band registration
body: <p>eyeryone! I have a problem with ejabberd. Ejabberd mod_register config have:</p>
  
  <pre><code>[{access, register}]
  </code></pre>
  
  <p>When i send:</p>
  
  <pre><code>&lt;body rid='1833385270' xmlns='http://jabber.org/protocol/httpbind' sid='ddc858306087c89bb1b95f6d507811f2068932cf'&gt;
  &lt;iq to='intive.com' type='set' id='reg2' xmlns='jabber:client'&gt;
  &lt;query xmlns='jabber:iq:register'&gt;
  &lt;username&gt;test_auto&lt;/username&gt;
  &lt;password&gt;test_auto&lt;/password&gt;
  &lt;/query&gt;
  &lt;/iq&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>&lt;body xmlns="http://jabber.org/protocol/httpbind"&gt;
  &lt;iq xmlns="jabber:client" from="bla.com" to="test1@bla.com/29309356411303308653389982" id="reg2" type="error"&gt;
  &lt;query xmlns="jabber:iq:register"&gt;
  &lt;username&gt;test_auto&lt;/username&gt;
  &lt;password&gt;test_auto&lt;/password&gt;
  &lt;/query&gt;&lt;error code="403" type="auth"&gt;
  &lt;forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/&gt;&lt;/error&gt;
  &lt;/iq&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>What i do wrong?</p>