Am Thursday 22 December 2005 00:30 schrieb JB Hewitt:

> I'm having some strange Sasl issues.
>
> It's on a newly configured machine, when freshly starting up the cyrus
> daemons I can connect with cyradm --once--.  Any time after that it
> won't let me in with the same username and password...
>
> [EMAIL PROTECTED]:/etc/ldap# !cyradm
> cyradm -u jb localhost
> IMAP Password:
>               soapbox> lm
> user.jb (\HasNoChildren)         user.test2 (\HasNoChildren)
> user.johnblade (\HasNoChildren)
> soapbox> exit
> [EMAIL PROTECTED]:/etc/ldap# cyradm -u jb localhost
> Password:
> cyradm: cannot authenticate to server as user jb
> [EMAIL PROTECTED]:/etc/ldap#
>
> The error message coming up is
> Dec 22 09:27:10 soapbox cyrus/imapd[7831]: badlogin:
> soapbox[127.0.0.1] DIGEST-MD5 [SASL(-13): user not found: no secret in
> database]
>
> I'm not sure why this is happening.
>
> Saslauthd is being used and has been configured to use pam as its
> authentication.  Any extra diagnostics I can run?

If you use saslauthd, you forgot to suppress DIGEST-MD5. saslauthd can only 
handle plain and login. Add something like "sasl_mech_list: plain login" to 
your imapd.conf.

If saslauthd itself works, you can test with "testsaslauthd".

-- 
        Andreas
----
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