imclient_authenticate wrong prompt order.

Dan White dwhite at olp.net
Mon Sep 26 09:51:45 EDT 2016


On 09/24/16 17:28 +0200, jesper--- via Info-cyrus wrote:
>The following sample prompts for entering the password after ones actually
>did enter the password. 1) Why is that e.g why does this sample write
>"please enter your password: " after the password is entered, and then
>exits?
>
>The authentication works. Only the prompting is a problem.
>
>I've tried with adding different sasl_callback_t callbacks to 
>imclient_connects but cannot get it to work as I expect it to.
>
>My goal is to authenticate fully programmatically. 2) How to supply 
>username and password without user inetercaction?

Have a look at doc/programming.html#callbacks_interactions within the cyrus
sasl source. Can you provide an example which includes callbacks that is
not working as expected?

-- 
Dan White


More information about the Info-cyrus mailing list