How to use PEP in ejabberd?

Hi,

I'd like to know if there is a tutorial on using PEP in ejabberd.

I read a tutorial regarding usage of PubSub in ejabberd (http://www.ejabberd.im/mod_pubsub-usage). However, the tutorial explicitly mentions that it "does not describe how to use PEP." I've been able to create, publish and subscribe to nodes using the "flat" plugin of mod_pubsub. However, I consistently receive "forbidden" and "item-not-found" errors when using the "pep" plugin.

When I did my PEP test, I first performed an items discovery query and find that the following node exists:
node="/home/my_host_name/"

When I try to query deeper, I find that there are no other items in the node above.

I try to publish to the above "node" but receive a "forbidden" error result.
Then, I try to publish to a "sub" node, "/home/my_host_name/user," and I get the "item-not-found" error (this is kind of expected since the node does not exist, but I tried anyway).

What node should I be publishing in when using PEP?

Is there something wrong with my ejabberd configuration?

I'd appreciate any help regarding this.

Syndicate content