[Serdev] jabber module authentication problem

Stefan Marx stmarx77 at gmx.de
Mon Sep 5 18:16:20 UTC 2005


ok, the fault was that the request was sent with a
<username>stefan at jabberme.de</username> instead of 
<username>stefan</username>, how I wronlgy wrote

but now I have a new problem  : 

I receive an error response containing :

<error code='401' type='auth'>
<not-authorized ... 

the request sent by the SER jabber module is the following


<iq id='00000001' type='set'>
 <query xmlns='jabber:iq:auth'>
  <username>stefan</username>
  <resource>serXjab</resource>
  <digest>1b956862b201887dbad472f2df3ec8c07f7597cb</digest>
</query>
</iq>

If I commpare this with the jabber message sent by me PSI client (for which
the authentication works)

<iq type="set" id="auth_2" to="jabberme.de" >
 <query xmlns="jabber:iq:auth">
  <username>stefan</username>
  <digest>73d6c9b1ea06aea7efa1763e90b8378a94b3abb8</digest>
  <resource>Psi</resource>
 </query>
</iq>

I notice that there is a lack of the 'to="jabberme.de"' in the <iq> tag sent
by the SER jabber module 
maybe this is reason?


(Don't have installed a local jabber server, i specified jabberme.de as
jaddress module parameter)

Are there different versions of the jabber module ? (I think I'm using 0.8.x
)

stefan



> --- Ursprüngliche Nachricht ---
> Von: Daniel-Constantin Mierla <daniel at voice-system.ro>
> An: Stefan Marx <stmarx77 at gmx.de>
> Kopie: serdev at lists.iptel.org
> Betreff: Re: [Serdev] jabber module authentication problem
> Datum: Mon, 05 Sep 2005 17:18:11 +0300
> 
> Hello,
> 
> What implementation and version of jabber server do you use? The module 
> is known to work with Jabber 1.4.2. Since then, the Jabber protocol 
> became standard as XMPP and I am not sure if it is same as the old 
> jabber protocol.
> 
> Daniel
> 
> 
> On 09/05/05 16:16, Stefan Marx wrote:
> 
> >hello !
> >
> >I have problems using the jabber module to authenticate an user at a
> jabber
> >server :
> >if sending the folowing reqeust :
> >
> ><iq id='00000001' type='set'>
> ><query xmlns='jabber:iq:auth'>
> ><username>stefan</username>
> ><resource>serXjab</resource>
> ><digest>1306a4248392940745e2a101bafc3e126b6b0f3d</digest>
> ></query></iq>
> >
> >the server respondes with the following :
> >
> ><iq type='error' id='00000001'>
> ><query xmlns='jabber:iq:auth'>
> ><username>stefan</username>
> ><resource>serXjab</resource><digest>
> >1306a4248392940745e2a101bafc3e126b6b0f3d</digest>
> ></query>
> ><error code='400' type=
> >'modify'><jid-malformed
> >xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error>
> ></iq>
> >
> >which is indicating a bad request 
> >has anyone an idea what is wrong with the request ?
> >
> >
> >stefan
> >
> >  
> >
> 

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner




More information about the Serdev mailing list