[Dovecot] Logging "issue" with PAM authentication
Timo Sirainen
tss at iki.fi
Wed Jul 7 20:57:56 EEST 2004
On 7.7.2004, at 20:39, Steve Johnson wrote:
> We currently have a postfix/dovecot setup using nss_ldap with PAM for
> authentication. Everything is working fine, but there are excessive
> "error" messages in /var/log/messages that I'd like to prevent from
> happening.
>
> Since auth_userdb defaults to passwd and that our users are not in the
> passwd file, we get the following message everytime a user logs in:
passwd userdb actually uses NSS (or getpwnam() which uses it) and not
/etc/passwd directly.
> Jul 7 13:34:37 hostname dovecot(pam_unix)[32206]: check pass; user
> unknown
> Jul 7 13:34:37 hostname dovecot(pam_unix)[32206]: authentication
> failure; logname= uid=0 euid=0 tty= ruser= rhost=
That's written by pam_unix PAM module, not Dovecot. Do you have both
pam_unix and pam_ldap in /etc/pam.d/dovecot? Remove the pam_unix.so
lines from there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20040707/3360fb0b/PGP.pgp
More information about the dovecot
mailing list