[JDEV] mod_groups support in CVS

Jan Peter Hecking jhecking at netgaroo.com
Fri Nov 23 09:55:03 CST 2001


Hi,

I'm running the CVS version of jabberd and am trying to get shared
groups (mod_groups) to work. The CVS logs say that the mod_groups config
file format was changed slightly in rev 1.12:

----------------------------
revision 1.12
date: 2001/02/19 08:32:12;  author: sheath;  state: Exp;  lines: +348 -283
lots of changes... jabber:iq:browse set support, changed xdb backend and config
slightly
----------------------------

Does anyone know what changes were made when comparing to the
specification at http://docs.jabber.org/server/html/groups.html?

See the relevant parts of my jabber.xml file below. I was expecting that
new users on my jabber server would automatically see the jids that I
put into the <users/> section of the config.

Also, how do users register with a shared group? The above mentioned
docs say: "Group jids can be registered to similar to how one registers
with a transport." It seems "similar" <> "the same".


Any help is appreciated!
Jan Hecking

------- jabber.xml ---------
<jabber>
  <service id="sessions">
    <host>localhost</host>
    <jsm xmlns="jabber:config:jsm">
      <!-- ... -->
      <browse>
        <!-- ... -->
        <item jid="jabber.netgaroo.com/groups" name="Shared Groups">
          <ns>jabber:iq:register</ns>
        </item>
      </browse>
      <groups>
        <group id="required">
          <info>
            <require/>
            <name>Required Group</name>
            <edit>jan at localhost</edit>
            <write>jan at localhost</write>
          </info>
          <users>
            <user name="Admin">admin at localhost</user>
          </users>
        </group>
      </groups>
    </jsm>
    <load main="jsm">
      <!--
        mod_groups must come before mod_roster and mod_presence in the load
        order. (http://docs.jabber.org/server/html/groups.html)
      -->
      <!-- ... -->
      <mod_groups>./jsm/jsm.so</mod_groups>
      <!-- ... -->
      <mod_roster>./jsm/jsm.so</mod_roster>
      <!-- ... -->
      <mod_presence>./jsm/jsm.so</mod_presence>
      <!-- ... -->
    </load>
  </service>
</jabber>
----------------------------

-- 
Jan Peter Hecking                     jhecking at netgaroo.com
University of Rostock        Department of Computer Science
Web: http://jhecking.netgaroo.com, http://news.netgaroo.com



More information about the JDev mailing list