<div dir="ltr"><div class="gmail_extra">Hi,</div><div class="gmail_extra">I use the following code:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">  do {</div><div class="gmail_extra">    rc = sasl_client_start(sconn_, /* the same context from above */</div><div class="gmail_extra">        mechlist, /* the list of mechanisms</div><div class="gmail_extra">     from the server */</div><div class="gmail_extra">        NULL, /* filled in if an</div><div class="gmail_extra">     interaction is needed */</div><div class="gmail_extra">        &out, /* filled in on success */</div><div class="gmail_extra">        &outlen, /* filled in on success */</div><div class="gmail_extra">        &mechusing);</div><div class="gmail_extra">  } while (rc == SASL_INTERACT); /* the mechanism may ask us to fill</div><div class="gmail_extra">  in things many times. result is SASL_CONTINUE on success */</div><div class="gmail_extra"><br></div><div class="gmail_extra">  if (rc != SASL_CONTINUE) {</div><div class="gmail_extra">    LOG(FATAL)<< "Cannot start client ("<< rc << ") ";</div><div class="gmail_extra">    return false;</div><div class="gmail_extra">  }</div><div class="gmail_extra"><br></div><div class="gmail_extra">In one run, rc was SASL_OK.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Can someone confirm whether SASL_OK meant that the client didn't actually start ?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks</div></div></div>