ejabberd - Comments for "S2S Presence not working" https://www.ejabberd.im/forum/28634/s2s-presence-not-working en Oh, I don't know if presence https://www.ejabberd.im/forum/28634/s2s-presence-not-working#comment-67241 <p>Oh, I don't know if presence will be correctly shared in this case, or if it is possible to accomplish presence-sharing in some other way; I only experiment with 1 node servers, sorry.</p> <p>You can try to post your question in the ejabberd mailing list, as there are many jabber admins in that list, maybe one have some idea.</p> <p>I guess ProcessOne can give online support everywhere, you can ask them.</p> Sun, 25 Dec 2016 19:17:44 +0000 badlop comment 67241 at https://www.ejabberd.im Thanks alot badlop for your https://www.ejabberd.im/forum/28634/s2s-presence-not-working#comment-67238 <p>Thanks alot badlop for your reply.</p> <p>I'm having completely separate ejabberd servers in different physical nodes(machines). </p> <p>In my setup, each node has a separate Ejabberd Server, LDAP, Database, Application Server.</p> <p>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).</p> <p>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.</p> <p>Note: LDAP contains username &amp; password. Database only contains username. Hence authentication can be done only against LDAP from Ejabberd.</p> <p>1) My application is currently using SMACK API to interact with Ejabberd. Is there anyway through SMACK java API(programatically) or anyother means that i can register one ejabberd server users in other ejabberd server for getting the PRESENCE?</p> <p>2) Do you have anyidea whether ejabberd server commercial support is available in INDIA?</p> <p>Thanks in Advance!!!</p> Thu, 22 Dec 2016 09:34:34 +0000 syamtsn comment 67238 at https://www.ejabberd.im If you have those domains in https://www.ejabberd.im/forum/28634/s2s-presence-not-working#comment-67236 <p>If you have those domains in the same ejabberd node, defined as vhosts like this:</p> <pre> hosts: - "localhost" - "example.com" </pre><p>Then you can get presences shared with a config like this:<br /> In WebAdmin, go to localhost vhost, create group grlocal, with Members: @all@, and Display: <noindex><a href="mailto:grexample@example.com" rel="nofollow" >grexample@example.com</a></noindex><br /> In WebAdmin, go to example.com vhost, create group grexample, with Members: @all@, and Display: grlocal@localhost</p> <p>However, if you have completely separated Jabber servers (just the coincidence that both use ejabberd), then obviously mod_shared_roster in one node does not know what users are in the other server.</p> <p>If you have two ejabberd nodes in a cluster (they share content of some Mnesia tables), and define one vhost in each one, then I am not sure if it is possible. You can try to define both vhosts in both nodes, and share the passwd mnesia table.</p> Wed, 21 Dec 2016 10:20:38 +0000 badlop comment 67236 at https://www.ejabberd.im