Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2009 13:24:53 -0500
From:      Janos Dohanics <web@3dresearch.com>
To:        freebsd-questions@freebsd.org
Subject:   saslauthd + pam error
Message-ID:  <200902241324.53927.web@3dresearch.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902241324.53927.web>