[JDEV] Intranet jabber setup

Parish, David dparish at vignette.com
Tue Nov 14 13:47:25 CST 2000


I am setting up a jabber server for the support organizations for my company
on a linux box and having a hell of a time.

I initially used the jabber.xml file intranet.xml in the configs directory.
This caused jabber to fail to start with a:
Executing mod_auth() in jsm.so failed: '/usr/lib/jsm.so: undefined symbol:
mod_auth'

I later realized that this symbol probably does not exist so I modified my
jabber.xml to be a hybrid between the standard jabber.xml and intranet.xml.

Now it starts but no one can connect.

My end goal is to have a jabber intranet chat server for about 100 people. I
do not plan to use any other transports, just the jabber protocol itself.

Once I get this to work I would be happy to write a HOWTO on getting an
intranet jabber setup.

Any help would be greatly appreciated.

Here is my current jabber.xml:
----------------------cut here------------------
<jabber>

  <!-- All xdb lookups go here -->
  <xdb id="xdb">
    <host/>
    <load><xdb_file>xdb_file.so</xdb_file></load>
    <!-- Change this directory to where you want to store user files -->
    <xdb_file xmlns="jabber:config:xdb_file"><spool><jabberd:cmdline
flag="s">/var/tmp</jabberd:cmdline></spool></xdb_file>
  </xdb>

  <service id="sessions">
    <!-- change hostname below! -->
    <host><jabberd:cmdline
flag="h">lexcorp.vignette.com</jabberd:cmdline></host>

    
    <load main="jsm">
      <jsm>jsm.so</jsm>
      <mod_roster>jsm.so</mod_roster>
      <mod_time>jsm.so</mod_time>
      <mod_vcard>jsm.so</mod_vcard>
      <mod_announce>jsm.so</mod_announce>
      <mod_agents>jsm.so</mod_agents>
      <mod_admin>jsm.so</mod_admin>
      <mod_private>jsm.so</mod_private>
      <mod_register>jsm.so</mod_register>
      <mod_presence>jsm.so</mod_presence>
      <mod_auth_plain>jsm.so</mod_auth_plain>
      <mod_auth_digest>./jsm/jsm.so</mod_auth_digest>
      <mod_auth_0k>./jsm/jsm.so</mod_auth_0k>
      <mod_filter>jsm.so</mod_filter>
      <mod_log>jsm.so</mod_log>
    </load>
    <jsm xmlns="jabber:config:jsm">

      <info>
	<name>lexcorp</name>
	<description>Lexcorp jabber server</description>
	<url>http://lexcorp.vignette.com</url>
      </info>

      <agents>
      </agents>

      <log>
	<file>session.log</file>
	<type>session</type>
      </log>

      <register>
	<instructions>Choose a username and password to registr with this
server.</instructions>
	<name/><email/>
      </register>
    </jsm>
  </service>

  <!-- Service to manage incoming client socket connections -->
  <service id="c2s">
    <host>pth-csock.10.17.80.42</host>
    <load><pthsock_client>pthsock_client.so</pthsock_client></load>
    <pthcsock xmlns='jabber:config:pth-csock'>
      <host>pth-csock.10.17.80.42</host>
      <listen><jabberd:cmdline flag="p">5222</jabberd:cmdline></listen>
    </pthcsock>
  </service>

</jabber>
-----------------cut here-----------------------------------




More information about the JDev mailing list