saslauthd + pam error

Janos Dohanics web at 3dresearch.com
Tue Feb 24 10:24:56 PST 2009


I'm trying to make cyrus work with saslauthd + pam, but having no luck.

# imtest -m PLAIN -a test
WARNING: no hostname supplied, assuming localhost

S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=LOGIN AUTH=PLAIN 
AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR] [myserver] Cyrus IMAP v2.3.13 server 
ready
Please enter your password:
C: A01 AUTHENTICATE PLAIN AHRlc3QAamFjaw==
S: A01 NO authentication failure
Authentication failed. generic failure
Security strength factor: 0

In /var/log/auth.log I get the error "saslauthd[17624] :do_auth         : auth 
failure: [user=test] [service=imap] [realm=] [mech=pam] [reason=PAM auth 
error]"

imtest works fine with DIGEST-MD5

In /usr/local/etc/imapd.conf I have:

sasl_pwcheck_method: saslauthd

saslauthd is running with "-a pam".

Where should I look to fix my configuration?

-- 
Janos Dohanics


More information about the freebsd-questions mailing list