[ejabberd] View other groups(shared rosters) from another domain

Badlop badlop at gmail.com
Wed Jul 27 12:53:39 MSD 2011


2011/7/27 Sam Paul <sampaul99999 at yahoo.com>:
> Here's my setup
> 2 virtual hosts (domain1, domain2)

> I have different groups/shared rosters for each domain e.g. domain1 has
> Management and HR group while domain2 has IT group.
> How can users from domain1 be able to see the IT group from domain2 without
> users manually adding IT users from the IT group and vice versa.
> When new users are created in domain1, they should be able to see 3 groups
> on their jabber client(psi), Management, HR and IT.

> How can I make this work? Thanks


I've uploaded a new patch to
https://support.process-one.net/browse/EJAB-506
that supports the syntax groupid at vhost in displayed_groups.

That patch would allow this to work:
In domain1 create the group ma with some members and display: hr it at domain2
In domain1 create the group hr with some members and display: ma it at domain2
In domain2 create the group it with member: @all@ and display:
ma at domain1 hr at domain1
You will have to constantly add members to ma and hr.

Or more automatic:
In domain1 create the group mahr with member: @all@ and display: it at domain2
In domain2 create the group it with member: @all@ and display: mahr at domain1


---
Badlop
ProcessOne


More information about the ejabberd mailing list