[JDEV] xdb_sql connection with two host(Help)

Dillip Kumar Swain babu95 at yahoo.com
Tue May 15 22:35:03 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
But still it's not authenticate passwd on second host ..I want to be only authenticate passwd for 2nd host...but it authenticate well with first host...
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  .......? How?


Thanx in advance!
dillip


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


More information about the JDev mailing list