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
Same response that in the
Same response that in the ejabberd mailing list:
I've uploaded a new patch to
https://support.process-one.net/browse/EJAB-506
that supports the syntax groupid@vhost in displayed_groups.
That patch would allow this to work:
In domain1 create the group ma with some members and display: hr it@domain2
In domain1 create the group hr with some members and display: ma it@domain2
In domain2 create the group it with member: @all@ and display:
ma@domain1 hr@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@domain2
In domain2 create the group it with member: @all@ and display: mahr@domain1
Thanks for the response.
Thanks for the response. Should I use both 506-allhost.diff and 506-displayhost.diff?
Also, I'm sorry I'm not familiar on installing or using a diff file. I just used the Ejabberd's packaged installer from the site. Can I just add the patch or do I need to reinstall Ejabberd but this time from source code instead of the .bin installer?
Thanks again.
ejabb3rd wrote: Should I use
Should I use both 506-allhost.diff and 506-displayhost.diff?
Only 506-displayhost.diff
Also, I'm sorry I'm not familiar on installing or using a diff file. I just used the Ejabberd's packaged installer from the site. Can I just add the patch
or do I need to reinstall Ejabberd
but this time from source code instead of the .bin installer?
The patch only modifies the file mod_shared_roster.erl You can get that file from ejabberd source code, apply the patch to the file, compile the file, copy the result beam to your current installation, and restart ejabberd.
Sorry for the late reply
Sorry for the late reply badlop..
It worked for me! Thanks
No bugs so far, I'll report them if I found one.
I'm concerned though about the output during patching.."Hunk #1 FAILED at 4087.", or should I just ignore that?
You better: cd
You better:
cd ejabberd-2.1.8
patch -p1 < 506-displayhost.diff
cd src
make
...