[jadmin] jabberd 1.4 with JUD on Debian stable problem
Alexander Iliev
sasoiliev at mamul.org
Tue Oct 10 23:24:14 CDT 2006
Hi list.
I'm running jabberd 1.4 on a Debian stable machine. Jabberd is
installed from the official Debian binary packages, as well as
JUD (jabber-jud package).
I'm using separate configuration file for the JUD componenet,
which looks like this:
---
<jabber>
<xdb id="xdb">
<host/>
<load>
<xdb_file>./xdb_file/xdb_file.so</xdb_file>
</load>
<xdb_file xmlns="jabber:config:xdb_file">
<spool><jabberd:cmdline
flag='s'>/var/lib/jabber</jabberd:cmdline></spool>
</xdb_file>
</xdb> -->
<service id="judlinker">
<uplink/>
<connect>
<ip>127.0.0.1</ip>
<port>5559</port>
<secret>SECRET</secret>
</connect>
</service>
<service id='jud'>
<host>people.domain.net</host>
<jud xmlns="jabber:config:jud">
<vCard>
<FN>User Directory</FN>
<DESC>This service provides a simple user directory
service.</DESC>
<URL>http://foo.bar/</URL>
</vCard>
</jud>
<load><jud>/usr/lib/jabber/jud/jud.so</jud></load>
</service>
<!--
This specifies the file to store the pid of the process in.
-->
<pidfile>/var/run/jabber/jabber-jud.pid</pidfile>
</jabber>
---
In the main config (jabber.xml) I have this in the main section:
---
<service id="judlinker">
<host>people.domain.net</host>
<accept>
<ip>127.0.0.1</ip>
<port>5559</port>
<secret>SECRET</secret>
</accept>
</service>
---
and this in the browse section of jsm:
---
<service type="jud" jid="people.domain.net" name="Jabber User Directory">
<ns>jabber:iq:search</ns>
<ns>jabber:iq:register</ns>
</service>
---
When started, the JUD componenet connects to jabberd with no problem,
but when a user tries to discover the services, I get (when running
JUD with the -D option):
<iq to='aleksandar.iliev at jabber.domain.net/Gajim' type='error' id='10'
from='people.domain.net'><query
xmlns='http://jabber.org/protocol/disco#info'/><error code='501'>Not
Implemented</error></iq>
I read that the cause could be a missing <xdb/> section in the JUD
configuration file, but that is not the case here.
Any ideas are welcome.
Best regards,
--
Alexander Iliev
More information about the JAdmin
mailing list