[jdev] jabber:iq:auth in the component:accept namespace?
Konstantin Klyagin
k at thekonst.net
Fri Aug 19 07:39:51 CDT 2005
On Thu, Aug 18, 2005 at 01:57:39PM +0200, Matthias Wimmer wrote:
> The problem with your approach is that as a component you always
> have to send fully addressed stanzas including a source address.
> Your stanza is missing the from attribute. The session manager
> would not be able to send anything back to you.
I added the from attribute and got the following:
[IN]<handshake/>
[OUT]<iq type='set' from='some at jims.thekonst.homeip.net'
to='konst at thekonst.homeip.net'><query
xmlns='jabber:iq:auth'><username>konst</username><password>****</password></query></iq>
[IN]<iq type='error' from='konst at thekonst.homeip.net'
to='some at jims.thekonst.homeip.net'><query
xmlns='jabber:iq:auth'><username>konst</username><password>****</password></query><error
code='503'>Service Unavailable</error></iq>
So only to specify from is not enough.
> From the log message I am assuming you are using jabberd 1.4.x.
> You can get a client session from a component using the protocol
> the client connection manager is talking to the session manager.
> This is quickly documented in
> http://svn.jabberd.org/trunk/jadc2s/PROTO
I also tried that. Please take a look at the transcript from my
previous mail to Katz, Dov B. Maybe you have an idea on what's done
wrong there. Thanks.
--
konst at http://thekonst.net/
More information about the JDev
mailing list