Try using:
sasl_passwd_check: pam (in lowercase)
in your imapd.conf
you may also want to try:
sasl_passwd_check: shadow
to make sure you passwd shadow authentication is working.
Also make sure when you check authentication against the shadow file, the cyrus user
needs to have rights to view the shadow file.
>>> "Andrew Sternick" <[EMAIL PROTECTED]> 09/10 5:32 PM >>>
I am running Cyrus 1.6.24 on Mandrake 8, stock config including the stock
sasl that came with Mandrake. I am trying to set up auth so that all my
/etc/passwd users can auth to imap. Since their passwords are actually
stored in /etc/shadow I am using shadow (mehopes at least this is right).
My configuration is:
in /etc/imapd.conf
sasl_passwd_check: PAM (in caps)
in /usr/lib/sasl/imap.conf AND
Cyrus.conf:
pwcheck_methof: PAM
In /etc/pam.d/imap:
#%PAM-1.0
auth required /lib/security/pam_pwdb.so shadow nullok
account required /lib/security/pam_pwdb.so
password required /lib/security/pam_cracklib.so retry=3
password required /lib/security/pam_pwdb.so use_authtok nullok shadow
md5
The above lines from /etc/pam.d/imap have been changed a number of times; I
have tried everything that looks like it might work, and there is something
rather strange happening. When I try to authenticate, I can get in as any
user as long as I give the cyrus user's password. If I use my real
password, I cannot authenticate. My logs give nothing useful. Has anyone
seen this and solved the problem?
Andrew
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp