Shared Roster Across multiple Domains/Servers(all users)

I have done some looking and so far have not found an answer on this(or I don't know how to form the question correctly and find it; which is equally possible).

I have two ejabberd servers in two locations(@foo.bar.com and @baz.bar.com).
Each is authenticating against a separate/unique ldap with unique users for that location.

I have an "everybody" shared roster on each server which puts everyone one in their "local" server in their roster.

I am trying to find a way to populate either a single roster with all users from both servers or a second roster on each server with all of the opposite servers users.

I have seen this post(with patch): http://www.ejabberd.im/node/4869 and it seems the patch was commited to the ejabberd sources, but I cannot find any good documentation around the added feature.

Does the @all@vhost work? I have something in place that mimics what is in the post, but it doesn't seem to work(at least as I have it configured)

Name: Foo
Description: All Foo Users
Members: @all@
Displayed Groups: everybody@foo.bar.com

and vice-versa for the other server. I am trying to leverage the "everybody" group that is on each server that I have already configured.

Does anyone know the appropriate way to do this?

Cheers and thanks in advance.

Yes, the feature was included

Yes, the feature was included since ejabberd 2.1.10. Quite simply:

Displayed groups
A list of groups that will be in the rosters of this group’s members. A group of other vhost can be identified with groupid@vhost.

However, all this only works when working in one ejabberd deployment, as the list of users is get from the local database. If you have two ejabberd deployments, then each one will search in each one local database, and obviously it won't work as you want.

Syndicate content