Re: Re: Problem with glooxd simpleserver
From: Tobias Markmann <tmarkmann@xxxxxxxxxxxxxx>
Date: Wed, 14 Oct 2009 20:49:34 +0200 (CEST)
On Wed, Oct 14, 2009 at 8:39 PM, Ivo Calado
<ivocalado@xxxxxxxxxxxxxxxxxxxx>wrote:

> Hi Jakob, thanks for your fast reply.
>
> I had disable the SASL feature because the follow error is thrown instead:
>
> log: level: 0, area: 262144, <stream:stream xmlns:stream='
> http://etherx.jabber.org/streams'
> version='1.0'><stream:error><host-unknown
> xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>
>
> I want to build a server without any authentication process. In this case,
> the server will just handler unauthenticated requests.  Is it possible?
> If not, how can I solve this problem presented above to enable the
> authentication?
>
> Cheers,
>
> Ivo
>
>
> On Wed, Oct 14, 2009 at 15:26, Jakob Schroeter <js@xxxxxxxxxx> wrote:
>
>>
>> Quoting Ivo Calado <ivocalado@xxxxxxxxxxxxxxxxxxxx>:
>>
>>  Hi everybody,
>>>   I'm with a problem to connect a client gloox to the simpleserver
>>> provided
>>> by glooxd (file /src/examples/simpleserver.cpp). I think that something
>>> in
>>> the simpleserver may be wrong or missing.
>>>
>>
>> Hi Ivo,
>>
>> You've disabled authentication by removing the SASL feature. As a result
>> gloox falls back to IQ auth which is not supported by glooxd. Hence the
>> reply.
>>
>> cheers,
>> Jakob
>>
>>
>>
>> --
>> gloox-dev mailing list
>> to unsubscribe:
>> send a message with subject 'unsubscribe gloox-dev' to
>> minimalist@xxxxxxxxxx
>>
>
>
>
> --
> Ivo Augusto Andrade Rocha Calado
> MSc. Candidate
> Embedded Systems and Pervasive Computing Lab - http://embedded.ufcg.edu.br
> Systems and Computing Department - http://www.dsc.ufcg.edu.br
> Electrical Engineering and Informatics Center -
> http://www.ceei.ufcg.edu.br
> Federal University of Campina Grande - http://www.ufcg.edu.br
>
> PGP: 0x03422935
> Quidquid latine dictum sit, altum viditur.
>
> --
> gloox-dev mailing list
> to unsubscribe:
> send a message with subject 'unsubscribe gloox-dev' to
> minimalist@xxxxxxxxxx
>

In XMPP you always need authentication. The modern way for your application
would be using SASL ANONYMOUS though i don't know whether glooxd supports
it. If not it should be fairly easy to implement.

Cheers,
Tobias Markmann