Lawrence Greenfield <[EMAIL PROTECTED]> wrote:
> >> - With plaintext login [using pwcheck], cyradm asks for the
> >> password twice:
> >> first "Please enter your password:" then "IMAP Password:" - any
> >> reason why?
> >>
> >> I'm not sure. Has anyone else run across this? Can anyone else solve
> >> this?
>
> Yeah, I think the first password is requested in order to do a saslified
> authentication, which fails, and then other code asks for another password.
> Actually, I appear to be crashing cyradm with the --auth option right now,
> so I'm going to say that this code really needs some work.
Yes, in my case above, the PLAIN method was failing to authenticate (because
PLAIN mechanism isn't available on a non-encrypted connection) and so the
cyradm shell itself printed out the "IMAP Password:" prompt to use with the
IMAP LOGIN method as a last resort (which works fine). I can get around this
problem of the "duplicate" password prompt if I do 'cyradm --auth login'.
Out of curiosity I used imtest to see if PLAIN was working. I did 'imtest -m
PLAIN -t "" localhost' and AUTH=PLAIN appeared in the capability banner (as
the connection was encrypted now) but the authentication failed with a bad
protocol error (IIRC - working from memory here). Anyway, this is more of an
aside, as my MUA doesn't uses LOGIN so it doesn't pose a problem to me yet.
--
Cillian