[JDEV] Re: Authenticate with two host thru XDB_SQL
Dillip Kumar Swain
babu95 at yahoo.com
Sun Jun 3 22:42:54 CDT 2001
Hi
Yes I have already moved these namespaces to next Host
entry..but in this case I can authenticate with 2nd
Host users only. I want to authenticate 1st & 2nd Host
simultaneously.
I have tried these codes...
=============================================
<xdb id="xdb_sql">
<host/>
<ns>jabber:iq:roster</ns>
<ns>jabber:x:offline</ns>
<ns>jabber:iq:filter</ns>
<ns>jabber:iq:last</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>jabber:iq:auth</ns>
<ns>jabber:iq:auth:0k</ns>
<load>
<xdb_sql>./xdb_sql/xdb_sql.so</xdb_sql>
</load>
<jabberd:include>./xdb_sql/xdb_sql1.xml</jabberd:include>
</xdb>
=======================================================
Please suggest me, How will I go thru.?
Thanx & regards!
dillip
hi,
> 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...
did you try to move <ns>jabber:iq:auth:0k</ns> and
<ns>jabber:iq:auth</ns> in the second xdb entry ?
if you leave these namespaces in the first entry,
clients will always
authenticate on the first host ...
regards,
Benoit.
--
Benoit Orihuela
IDEALX S.A.S.
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
More information about the JDev
mailing list