Re: Question about sasl_client_start() and SASL_OK

Christophe Fergeau <[email protected]>
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
Mogens,

On Fri, Nov 15, 2013 at 10:37:05PM +0100, Mogens Melander wrote:
> On Fri, November 15, 2013 19:21, Alexey Melnikov wrote:
> > On 04/11/2013 09:01, Christophe Fergeau wrote:
> >> Hey,
> > Hi,
> 
> Hi to you too. did you have some contribution, or did
> you just want to say Hi?
> 
> Serious people are monitoring this list, waiting to
> elevate this software. don´t mess with that. Please.

Alexey's email contains more than this 'hi' at the bottom:

> Finally, looking at the sample-client.c code from cyrus-sasl [6]:
>
> result = sasl_client_start(...)
> if (result != SASL_OK && result != SASL_CONTINUE) {
>        printf("error was %s\n", sasl_errdetail(conn));
>        saslfail(result, "Starting SASL negotiation", NULL);
> }
>
> so SASL_OK is not an error there.
Correct.
> I assume I should be handling sasl_client_start() returning SASL_OK and
> that
> this should not be an error, but a confirmation about that would be very
> nice!
> It would be even better if the documentation could get fixed ;) I can
> submit a patch if needed once this is clarified.
Please do :-).
> Thanks in advance for any answer!
>
> Christophe
>

Christophe
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iEYEARECAAYFAlKJ8P0ACgkQJKRp+3pW9471owCgtBkgACVkfk8cXKT/OIhOdaMB
yrEAnA+KYBJyrroZ2CAaHGWNpE7piYbl
=S62+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.