Jabberd-Jud

From YobiWiki
Revision as of 01:32, 25 November 2006 by <bdi>PhilippeTeuwen</bdi> (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
cd jabberd/jabber-1.4.2a
wget http://download.jabber.org/dists/1.4/final/jud-0.4.tar.gz
tar -xzvf jud-0.4.tar.gz
cd jud-0.4
make
mkdir /var/lib/jabber/jud
cp jud.so /var/lib/jabber/jud

Ajouter dans /etc/jabber/jabber.xml, section <browse>:

       <service type="jud" jid="jud.reseaucitoyen.be" name="Repertoire des Utilisateurs ReseauCitoyen">
         <ns>jabber:iq:search</ns>
         <ns>jabber:iq:register</ns>
       </service>

Ajouter dans /etc/jabber/jabber.xml, dans la liste des <service>:

 <service id="jud">
   <host>jud.reseaucitoyen.be</host>
   <load><jud>/var/lib/jabber/jud/jud.so</jud></load>
   <jud xmlns="jabber:config:jud">
     <vCard>
       <FN>Repertoire local de ReseauCitoyen</FN>
       <DESC>Ce service fournit un simple repertoire d'utilisateurs.</DESC>
     </vCard>
   </jud>
 </service>