Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 11:46:04 -0500 (EST)
From:      "H. Wade Minter" <minter@lunenburg.org>
To:        freebsd-questions@freebsd.org
Subject:   PAM authentication with Cyrus IMAP?
Message-ID:  <20020402114254.S41754-100000@bunning.skiltech.com>

next in thread | raw e-mail | index | archive | help
Can anyone provide pointers for getting Cyrus IMAP to authenticate via PAM
to system accounts on FreeBSD RELENG_4_5?

I installed Cyrus from ports, and have lines in /usr/local/etc/imapd.conf
like:

# The mechanism used by the server to verify plaintext passwords.
# Possible
# values also include "PAM", "sasldb", "kerberos_v4", "passwd", and
# "shadow"
#
sasl_pwcheck_method: pam

/usr/local/lib/sasl/Cyrus.conf also has:
pwcheck_method: pam

However, system accounts are not authenticating, such as via this test:

bash-2.05a# imtest -v -m login -u minter localhost
C: C01 CAPABILITY
S: * OK carlton.skiltech.com Cyrus IMAP4 v2.0.16 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT
THREAD=REFERENCES IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5
S: C01 OK Completed
Password: [ENTERED CORRECT SYSTEM PASSWORD]
C: L01 LOGIN root {7}
+ go ahead
C: <omitted>
L01 NO Login failed: authentication failure
Authentication failed. generic failure
Security strength factor: 0

Any tips will be appreciated!

Thanks,
Wade

-- 
Fight for your rights in the digital age:
http://www.digitalconsumer.org/
http://digitalspeech.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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