ejabberd - Comments for "Disable Buddies/Separate Virtual Host Rosters" https://www.ejabberd.im/node/3173 en Excellent. I'm running an https://www.ejabberd.im/node/3173#comment-53491 <p>Excellent. I'm running an older version of ejabberd per pkg_add in OpenBSD, so I'll have to change all that to run the latest version and test out your patch. I'll definitely let you know once I get a chance to test it out though.</p> Fri, 15 Aug 2008 15:13:01 +0000 osake comment 53491 at https://www.ejabberd.im You can try a proposed patch https://www.ejabberd.im/node/3173#comment-53489 <div class="quote-msg"> <div class="quote-author"><em>osake</em> wrote:</div> <p>I am trying to figure out how to disable adding buddies so that virtual hosts will only be able to utilize their shared roster. Haven't been able to figure this out from the documentation yet, any ideas?</p></div> <p>This feature request is tracked here: <noindex><a href="https://support.process-one.net/browse/EJAB-72" rel="nofollow" >Add access rules to mod_roster</a></noindex>.</p> <p>I've implemented a patch, and I briefly tested it. If you try it, please tell me if it works correctly.</p> <p>The patch can be applied to ejabberd 2.0.1 that way:</p> <pre>$ cd ejabberd-2.0.1/src $ patch -p1&lt;ejab72-roster-access.diff patching file doc/guide.html Hunk #1 FAILED at 2470. 1 out of 1 hunk FAILED -- saving rejects to file doc/guide.html.rej patching file doc/guide.tex Hunk #1 FAILED at 3165. 1 out of 1 hunk FAILED -- saving rejects to file doc/guide.tex.rej patching file src/ejabberd_c2s.erl Hunk #1 succeeded at 1557 (offset -16 lines). Hunk #2 succeeded at 1568 (offset -16 lines). Hunk #3 succeeded at 1600 (offset -16 lines). patching file src/mod_roster.erl Hunk #1 succeeded at 137 (offset 20 lines). Hunk #2 succeeded at 207 (offset 20 lines). patching file src/mod_roster_odbc.erl Hunk #1 succeeded at 133 (offset 21 lines). Hunk #2 succeeded at 233 (offset 21 lines).</pre> Thu, 14 Aug 2008 23:13:42 +0000 mfoss comment 53489 at https://www.ejabberd.im