[ejabberd] Presence not working in S2S Communication

syamalaraotsn at bel.co.in syamalaraotsn at bel.co.in
Mon Dec 26 06:14:33 MSK 2016

Hello All,

I configured two ejabberd servers with names "abc.com" and "xyz.com" in
S2S configuration in different physical nodes(machines).

In my setup, each node has a separate Ejabberd Server, LDAP, Database,
Application Server.

In both the ejabberd servers i registered a Shared roster group called
"test"(with @all@ configuration). Users within the same ejabberd server
are able to see each other presence successfully.

But the users across ejabberd servers are unable to see each other users
presence status(i.e users of abc.com are not able to see the presence of
xyz.com users & vice-versa), to solve this problem i added the users of
"abc.com" in "xyz.com" shared roster "test" manually & vice-versa. After
that presence is working fine.

Now my question, is there any configuration available in ejabberd/smack to
avoid manually adding users to each other roster's?

I need to configure 100+ ejabberd nodes. Adding each servers users to
other servers roster is really tiresome job. Hence looking for a

At each node, ejabberd is configured to LDAP of that node. LDAP in each
node contains the details of the registered users in that node only i.e(
other node user details are not available in LDAP).

But in the Database of each node, contains all the users details i.e Self
node users details along with other node users details always.

Note: LDAP contains username & password. Database only contains username.
Hence authentication can be done only against LDAP from Ejabberd.

Thanks in Advance!!!

कागज़ के 3000 पन्नों के लिए एक पेड़ को काटा जाता है... पेड़ बचाएँ... पेड़ों का संरक्षण करें... हरियाली लाएँ... इस मेल का या इसकी किसी फाइल का प्रिंट तब तक न लें जब तक सचमुच ज़रूरत न हो !!!!

Every 3000 Sheets of paper costs us a tree.. Save trees... Conserve 
Trees. Don't print this email or any Files unless you really need to!!!! 

Confidentiality Notice/गोपनीय सूचना 

इस इलेक्ट्रॉनिक संदेश में शामिल जानकारी और इस संदेश के साथ दिया गया संलग्नक केवल 
प्रेषिती के अनन्य इस्तेमाल के लिए है और इसमें गोपनीय या विशेषाधिकार प्राप्त जानकारी
शामिल हो सकती है । यदि आप आशयित प्राप्तकर्ता नहीं हैं, तो कृपया तुरंत भारत इलेक्ट्रॉनिक्स के प्रेषक को बताएँ 
या support at bel.co.in पर मेल द्वारा सूचित करें और इस संदेश की सभी प्रतियाँ और उसके साथ लगे संलग्नकों को नष्ट कर दें । 
The information contained in this electronic message and any 
attachments to this message are intended for the exclusive use of
the addressee(s) and may contain confidential or privileged 
information. If you are not the intended recipient, please notify
the sender at Bharat Electronics  or support at bel.co.in immediately
and destroy all copies of this message and any attachments.

More information about the ejabberd mailing list