Creating a pubsub node fails with "forbidden"

ejabberd 2.0.5 configured with three virtual domains.
I have an admin user on one domain that is trying to create a pubsub node on another virtual domain managed by the same server.
The result is constantly a "forbidden" error.

ejabberd seems configured correctly; this is a snippet of the configuration:

%% Everybody can create pubsub nodes
{access, pubsub_createnode, [{allow, all}]}.

%% virtual domain configuration
{host_config, "moneiro.priv", [
{{add, modules}, [
{mod_last, []},
{mod_offline, []},
{mod_roster, []},
{mod_vcard, []},
{mod_pubsub,   [ % requires mod_caps  
{access_createnode, pubsub_createnode},
{plugins, ["default", "pep"]}
]}

]}
]}.

As I said, when i try to create a node, I get a "forbidden" result. Here are the XML extracts:

request:
<iq type='set' to='pubsub.moneiro.priv' id='create1'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <create node='hermod/events'/>
    <configure/>
  </pubsub>
</iq>

response:
<iq from='pubsub.moneiro.priv' to='alex@ooros.priv/tesla' type='error' xml:lang='en' id='create1'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <create node='/pubsub/nodes/hermod/events/mail'/>
    <configure/>
   </pubsub>
   <error code='403' type='auth'><forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
   </error>
</iq>

I tried creating nodes with a bare name, with "/pubsub/nodes/", with "/home/" as I read in some other topics around here, but nothing changed.

Any idea what could be wrong?

Thanks in advance

Try

Try "/home/moneiro.priv/alex", as mentioned in http://www.ejabberd.im/mod_pubsub-usage

Syndicate content