[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#108942: PAM problems



cyrus2-imapd seems to be having problems authenticating users via PAM.
When I try to log in via "telnet mailhost 110", I get an error message
similar to the following (regardless of whether I enter a valid or an
invalid password):

mailhost:~# telnet mailhost 110
Trying W.X.Y.Z...
Connected to mailhost.domain.nam.
Escape character is '^]'.
+OK mailhost Cyrus POP3 v2.0.16 server ready
user ddkilzer
+OK Name is a valid mailbox
pass XXXXXXXX
-ERR Invalid login
quit
+OK
Connection closed by foreign host.
mailhost:~# 

When I run strace(1) on the pop3d process, I see it looking for
/etc/pam.d/pop an /etc/pam.d/other, but not /etc/pam.d/cyrus (as it is
installed).  It (or some library code it calls) has problems accessing
/etc/shadow, which probably means that PAM can't access that file
because pop3d is running as the 'cyrus' user, not 'root'.

Note that I *have* created the 'user.ddkilzer' mailbox using cyradm.

The next step for me is to look at the various RPMs (Red Hat's and
a couple others) to see what kinds of patches they use for PAM support
and general bug fixes.

  http://rpmfind.net/linux/rpm2html/search.php?query=cyrus-imapd

Dave



Reply to: