Hello. I'm having a problem with Cyrus-IMAPD 2.2.12 with Cyrus-SASL 2.1.19's 
saslauthd.

When I login using the LOGIN method, I see saslauthd doing it's lookup, and 
OpenLDAP logs show it as well, and it's all successfull. However, when trying 
to do a PLAIN, DIGEST-MD5, or CRAM-MD5 auth to the IMAP server, it fails. 
cyrus/imapd shows up in the logs, but saslauthd does not.

Feb 20 19:22:27 ragnarok cyrus/imap[8274]: DIGEST-MD5 server step 1
Feb 20 19:22:33 ragnarok cyrus/imap[8274]: DIGEST-MD5 server step 2
Feb 20 19:22:33 ragnarok cyrus/imap[8274]: no secret in database
Feb 20 19:22:37 ragnarok cyrus/imap[8274]: DIGEST-MD5 server step 1
Feb 20 19:22:37 ragnarok cyrus/imap[8274]: DIGEST-MD5 server step 2
Feb 20 19:22:37 ragnarok cyrus/imap[8274]: no secret in database

That's the logs of my attempt to login using DIGEST-MD5, from the authlog.

Feb 20 19:22:27 ragnarok cyrus/imap[8274]: accepted connection
Feb 20 19:22:33 ragnarok cyrus/imap[8274]: badlogin: midgard.furreville.net 
[192.168.1.10] DIGEST-MD5 [SASL(-13): user not found: no secret in database]
Feb 20 19:22:37 ragnarok cyrus/imap[8274]: accepted connection
Feb 20 19:22:37 ragnarok cyrus/imap[8274]: badlogin: midgard.furreville.net 
[192.168.1.10] DIGEST-MD5 [SASL(-13): user not found: no secret in database]

And that's from the mail log.

A successfull LOGIN auth:

Feb 20 19:24:20 ragnarok saslauthd[8281]: DIGEST-MD5 client step 2
Feb 20 19:24:20 ragnarok saslauthd[8281]: DIGEST-MD5 client step 2
Feb 20 19:24:20 ragnarok saslauthd[8281]: DIGEST-MD5 client step 3

And from maillog:

Feb 20 19:24:20 ragnarok cyrus/imap[8274]: accepted connection
Feb 20 19:24:20 ragnarok cyrus/imap[8274]: login: midgard.furreville.net 
[192.168.1.10] psi-jack plaintext User logged in

What could be wrong here?

saslauthd is configured to use ldap, and only that. And it is successfully 
using a sasl fastbind to openldap for login auths. But LDAP is never even 
touched with any other methods. 

This is on Ubuntu Dapper 6.04's edition of Cyrus-IMAPD.

-- 
Eric Renfro
===
Conscience doth make cowards of us all.
                -- Shakespeare

Attachment: pgpnyulliwLS8.pgp
Description: PGP signature

----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to