Automatic Roster

I have ejabberd set up to use LDAP. Now I want all the users to be able to see all the other users without having to add them manually. Is there a way to make to roster automaticly do this.

Alternatly I could write a c# program to read through the LDAP directory and insert the appropreate information in to roster.DCL file, but I am unsure of the formatting. Thank you for you help.

asdf_46

patch to ejabberd_ctl: push-alltoall

I want all the users to be able to see all the other users without having to add them manually

Until a final solution is provided, you may be interested in this quick&dirty experimental, unofficial, unsupported patch for ejabberd_ctl that adds new commands, including 'push-alltoall'.

You can execute that command everyday, for example.

Note that:

  • You need to restart ejabberd for the new command to be available.
  • This command modifies the database directly, so the user will not see the new roster items until he reconnects.
  • This patch works with ejabberd 0.7.x and current CVS. The next ejabberd release will have a different database schema, so I'll need to update the script to work with it.

What format is the template f

What format is the template file supposed to be in? This sounds like it could be really useful for us, but I can't tell from the source code how the pushroster-all template file is supposed to look.

format of roster file

The format of the file used by 'pushroster' and 'pushroster-all' commands is:

{Server, [
 User1,
 User2,
 ...
 UserN]}
where Server is the server name.

Every UserX is a user you want to add, specified with

{User, Group}
or
{User, Group, Nick}
where User is the usename, Group is the group on the roster where it should appear, and Nick is it's nock on the roster.

This is an example with two workers and a director:

{"im.mycomp.com", [
  {"bobo3", "workers", "BobO 3"},
  {"bobo4", "workers"},
  {"bobo5", "direction", "B0B 55"}]}.

Where do I save it to? do I

Where do I save it to? do I have to execute it? or place it somewhere special on my ejabberd directory?
Thanks much,
Teo

I would like to download it..

I would like to download it.. Where can I get it?
Thanks,
Teo

Syndicate content