[Please don't top post and trim your replies, thanks
http://en.wi
kipedia.org/wiki/Top-posting ]
Yingbo Qiu wrote:
> 2006/6/12, Jonathan Stewart <jonathan kc8onw.net>:
>> Hello all,
>>
>> I am trying to set up jabberd2 to use pipe
authentication. When I test
>> USER-EXISTS and CHECK-PASSWORD manually with the
pipe auth script
>> everything appears to work fine. Trying to connect
using Psi I get the
>> following in the XML console...
>>
>> > <?xml version="1.0"?>
>> >
>> > <stream:stream xmlns:stream="http://etherx.jabber
.org/streams"
>> xmlns="jabber:client"
to="jabber.kc8onw.net" >
>> >
>> > <?xml version='1.0'?><stream:stream
>> xmlns:stream='http://etherx.jabber
.org/streams' xmlns='jabber:client'
>> from='jabber.kc8onw.net'
id='s1scvs9pwh0e1u3dd7y1902nhrun6roeex66kwhe'>
>> >
>> > <iq type="get"
id="auth_1" to="jabber.kc8onw.net"
>
>> > <query
xmlns="jabber:iq:auth">
>> > <username>jonathan</username>
>> > </query>
>> > </iq>
>>
>> and then I never see anything else till the
connection is reset.
>
> try Exodus?
>
> We also use pipe authreg .. Exodus works fine
I didn't think it was a client issue because the last
traffic shown in
the XML log was from the client to the server and the client
is waiting
on a response from the server which never shows up. But I
tried
connecting using mcabber which worked fine. Then I realized
that I had
changed Psi to use 5222 so I could try and trace traffic
with ethereal.
I changed Psi to use 5223 and now it connects fine :P
[some time later]
In writing this email I came across this in my C2S.xml
<!-- Require STARTTLS. If this is enabled, clients
must do STARTTLS
before they can authenticate. Until the stream is
encrypted,
all packets will be dropped. -->
<require-starttls/>
I would guess the server was waiting for a STARTTLS which it
never got
because Psi does not support STARTTLS :P
This initially came up because of an issue someone asked
about in the
jadmin thread titled "[jadmin] Anyone running FreeBSD
have jabberd2
working with PAM auth?" which can be found here
http://mail.jabber.org/pipermail/jadmin/2006-June/0
24027.html and more
detail will be in that thread.
Thanks,
Jonathan
_______________________________________________
jabberd mailing list
jabberd jabberstudio.org
http:
//mail.jabber.org/mailman/listinfo/jabberd
|