Bug 149673 - Dovecot fails with pam_access
Summary: Dovecot fails with pam_access
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dovecot
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John Dennis
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-24 23:06 UTC by Josh Smith
Modified: 2014-01-21 22:51 UTC (History)
3 users (show)

Fixed In Version: dovecot-0.99.14-6.fc5
Clone Of:
Environment:
Last Closed: 2005-07-22 21:31:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Josh Smith 2005-02-24 23:06:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
If /etc/pam.d/dovecot contains

  account     required      /lib/security/$ISA/pam_access.so

then any attempt to connect to Dovecot generates errors in
/var/log/messages, like

  Feb 24 14:46:10 ilium dovecot(pam_unix)[5345]: check pass; user unknown
  Feb 24 14:46:10 ilium dovecot(pam_unix)[5345]: authentication
failure; logname= uid=0 euid=0 tty= ruser= rhost=
  Feb 24 14:46:10 ilium pam_access[5345]: couldn't get the tty name

If the pam_access line is removed, Dovecot works as expected. This is
very similar to
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146073 and
presumably has a similar cause.

Version-Release number of selected component (if applicable):
dovecot-0.99.13-3.FC3

How reproducible:
Always

Steps to Reproduce:
1. Add "account     required      /lib/security/$ISA/pam_access.so" to
/etc/pam.d/dovecot
2. Attempt to log in to Dovecot

Actual Results:  Login failure (e.g. Thunderbird says "Login to server
<server name> failed."), and errors in /var/log/messages.

Expected Results:  Login should succeed.

Additional info:

This is very similar to
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146073 and may
have a similar cause.

Comment 1 David Kewley 2005-02-25 00:04:09 UTC
I confirmed that the string "PAM_TTY" doesn't exist in the latest 
FC3 dovecot srpm.  The fix for bug 146073 involved adding two lines 
that included this string. 
 
I've sent Timo Sirainen, the dovecot author, an email about this, 
but I see that he's cc'd on the bug already. :) 
 


Note You need to log in before you can comment on or make changes to this bug.