I was wondering if anyone had any ideas on what would be the best way to add lots of shared rosters for lots of users. All the users are in LDAP; I want to create a lot of shared rosters. I'll probably use Perl -- but what interface do I use to ejabberd? Is it possible to add shared rosters with mod_xmlrpc? This script will probably need to be run once a day -- if XML-RPC is the answer, how does it deal with having the same entries entered again (stops all together, or quietly ignores)?
Has anyone else done anything like this? I will have a dump of users and the groups they are to be in -- a shared roster for each group should be added.
Any feedback is greatly appreciated.