[JDEV] xdb_sql connection with two host

Dillip Kumar Swain babu95 at yahoo.com
Mon May 14 08:42:38 CDT 2001


Hi Benoit.
 
Please suggest me following code is currect for  authentication users on two host.

 <xdb id="xdb_sql">
    <host/>
    <ns>jabber:iq:auth</ns>
    <ns>jabber:iq:roster</ns>
    <ns>jabber:x:offline</ns>
    <ns>jabber:iq:filter</ns>
    <ns>jabber:iq:last</ns>
    <ns>jabber:iq:auth:0k</ns>
    <ns>jabber:iq:register</ns>
    <ns>vcard-temp</ns>
    <load>
      <xdb_sql>./xdb_sql/xdb_sql.so</xdb_sql>
    </load>
    <jabberd:include>./xdb_sql/xdb_sql.xml</jabberd:include>
    </xdb>
    <xdb id="xdb">
    <host/>
    <ns/>
    <load>
      <xdb_sql>./xdb_sql/xdb_sql.so</xdb_sql>
    </load>
    <jabberd:include>./xdb_sql/xdb_sql1.xml</jabberd:include>
    </xdb>

I have just copied xdb_sql.xml to xdb_sql1.xml...and I have connected another host in xdb_sql1.xml
According to your last response..you suggest me to hack mod_auth_plain_jane in mod_auth_plain.c ..but problem is that for password encryption I have commented this 
<!-- <mod_auth_plain>./jsm/jsm.so</mod_auth_plain>--> in jabber.xml.

So can I hack anything on mod_auth_digest.c  .......?


Thanx in advance!
dillip


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20010514/f7e9f557/attachment-0002.htm>


More information about the JDev mailing list