[JDEV] Authentication of users on two host

Dillip Kumar Swain babu95 at yahoo.com
Wed May 30 22:57:47 CDT 2001


Hi
I didn't get any response for my request....
Please suggest me following code is currect for authentication users on two
host.

 <xdb id=3D"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=3D"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





More information about the JDev mailing list