I am a complete n00b to configuring Jabber/XMPP servers and I am hoping to get some help getting set up. I have done all of this and installed pidgin. I seem to be able set up my "admin-user" in pidgin no problem but when I try to register a new user I get a 403 Fobidden message back from pidgin.
Do I need to change the ejabberd.cfg file to allow users to register? If so how do I go about it? If not what do I need to get basic chat and fileshare going?
You have two options regarding user registration. You can either manually create user accounts on the server, or you can enable in-band registration, which allows anyone who can connect to the server to register an account.
If you want to create accounts manually, run this on the server for each user:
If you want to enable in-band registration, find the following line in
/etc/ejabberd/ejabberd.cfg
and change thedeny
toallow
so that it looks like this.Related to mgorven's answer above, here is a little script I use to dump useful information about registered users to stdout. The ejabberdctl dump command requires a file rather than stdout, which is why I do all the other nonsense below: