Setting room owners/admin from external source

Hey everyone,

I got ejabberd running and I'm now trying to configure it to my needs. I need some external authentication and I stumbled upon the external script method which is exactly what I need.
The other thing is I would like certain of my users to be automatically set as room owners, admins or members for certain rooms. I'm wondering how to do this and wheter there might be an automatic way similar to the script for external authentication.
I suppose I could write a mod for this, but as I'm new to erlang I thought there might be a more straightforward way.

Thanks for any help,

Paul

no easy way

I don't think there is an easy way to do this. It would be nice to handle it directly via configuration.

You can 1) use a script that logs into ejabberd and creates users, rooms, etc, or 2) use a script that uses ejabberdctl (the command line tool) to do this (I'm not sure ejabberdctl can handle everything you require).

http://www.ejabberd.im/node/3126

thanks for your help, I ended

thanks for your help, I ended up stumbling upon the xmpprpc module, which is probably what I'm going to use. It seems to be the easiest solution.

Thanks!

Syndicate content