The XML shown as received by xdb_java is not the actual XML received, but that understood. The Handlers.properties file tells it to generate an IQAuth extension when it sees the 'jabber:iq:auth' namespace; however, the format is completely different than what it expects - it expects a 'query' element with a bunch of other elements within it, not just a 'password' element with CDATA for the password.
There should be a replacement .properties file (and more importantly - replacement code) to provide a different extension objects for use when doing XDB requests. Should be as in 'I don't really know' - I have never tried running the xdb_java piece. -David Waite Scott Honey wrote: > Hey everyone, > > I'm currently working with xdb_java (see sourceforge.net for > downloads), and I've come accross an odd bug. When the server sends > an XDB packet that includes a password, the xdb_java server never > receives it. IQAuthZeroK seems to work, however. > > I believe this is not a jabberd problem because when I run xdb_file > remotely, everything comes out fine. > > Here's a bit of log... > > written by main server > Thu Nov 29 00:17:19 2001 mio.c:268 write_dump writing data: <xdb > type='set' to='jim1@host' from='sessions' ns='jabber:iq:auth' id='3'> > <password xmlns='jabber:iq:auth'>JIM1</password></xdb> > > received by xdb_java > <xdb to="jim1@host" from="sessions" id="3" type="set" > ns="jabber:iq:auth"><query xmlns="jabber:iq:auth"></query></xdb> > > sent by xdb_java > <xdb to="sessions" from="jim1@host" id="3" type="result" > ns="jabber:iq:auth"></xdb> > > received by main server. > Thu Nov 29 00:17:19 2001 mio.c:698 MIO read from socket 14: <xdb > to="sessions" from="jim1@host" id="3" type="result" > ns="jabber:iq:auth"></xdb> > > I've been going mad trying to figure out why this isn't working > properly -- I'd really appreaciate some help. > > Thanks, > > Scott Honey > > _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
