<div dir="ltr"><div><div><div>Hi all,<br><br></div>It's been a while now I am trying to implement the Digest authentication with the Cyrus SASL library and I don't understand how to proceed.<br></div>I am using the version 2.1.25 and only support digest mechanism, here is the desired behaviour (which doesn't work)<br>
</div><div> * initial call from client:<br></div><div> 1. sasl_server_new()<br> 2. sasl_setprop(http_request)<br></div><div> 3. sasl_server_start()<br></div><div> 4. send the challenge provided by previous function<br>
</div><div> 5. sasl_dispose<br></div><div> * second request from client (containing authentication information):<br><div> 1. sasl_server_new()<br></div><div> 2. sasl_setprop(http_request)<br></div><div> 3. sasl_server_start("clientin = authentication http header")<br>
</div><div> 3. I tried instead sasl_server_step but it doesn't work either.<br></div> 4. sasl_dispose<br><br></div><div>I expect the third step to authenticate the user with the `clientin` I provide - from http request header - but I only get a floating point exception :(.<br>
</div><div>Could you please help me with what would be the right process ?<br><br></div><div>Regards,<br></div><div>Nil.<br></div></div>