Question about sasl_client_start() and SASL_OK

Christophe Fergeau cfergeau at redhat.com
Mon Nov 18 05:50:37 EST 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20131118/dc619481/attachment.bin 


More information about the Cyrus-sasl mailing list