Yeah, I don't know.  It's not the biggest deal, because it still works 
after the second prompt, but since we're on the topic...

These are my details if you or anyone else can help solve this:

FreeBSD 4.3

Cyrus SASL 1.5.24
./configure \
    --prefix=/usr/local/cyrus-sasl --enable-shared --enable-static 
--with-gnu-ld \
    --with-dblib=berkeley --with-pwcheck=/usr/local/cyrus-sasl/pwcheck

Cyrus IMAPd 2.0.14
./configure \
    --prefix=/usr/local/cyrus --with-cyrus-user=cyrus 
--with-cyrus-group=mail \
    --with-cyrus-prefix=/usr/local/cyrus --with-sasl=/usr/local/cyrus-sasl \
    --with-dbdir=/usr/local/BerkeleyDB.3.2 --with-auth=unix

imapd.conf:
<snip>
admins:    cyrus
sasl_pwcheck_method:    pwcheck
</snip>

I'm not using sasldb... perhaps that has something to do with it.  My 
system uses DES crypt libs for the password file, but the passwords are 
stored as MD5.  Perhaps the auth mechanism isn't even using pwcheck the 
first time around?

-David Fuchs

Kevin J. Menard, Jr. wrote:

>Hey David,
>
>
>Wednesday, July 25, 2001, 12:02:50 AM, you wrote:
>
>DF> I recreated your situation on my own system... but had no trouble...
>
>DF> cyradm -u cyrus localhost
>DF> Please enter your password: ********
>DF> IMAP Password: ********    (Why it asks for two passwords I don't
>DF> know... =] )
>
>I could be wrong here, but the first pass through is for MD5 SASL passwords
>or something.  If that doesn't work, it falls back to a plaintext protocol,
>which would be sending a LOGIN command to the IMAP server directly.  I don't
>know why the SASL passwd look up succeeds with LOGIN and not the other way,
>but go figure :-P
>
>If you do cyradm -u cyrus -a login localhost, it should only prompt you
>once.
>
>--
> Kevin
>


Reply via email to