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

Bug#446063: libpam-dotfile: Fails to work with dovecot unless fork option setReproduced in current testing



Hi,

I can reproduce in the current testing (squeeze).

libpam-dotfile 0.7-4
dovecot-common 1:1.2.9-1
libpam0g       1.1.0-4

without the "fork" option in the (in this case) /etc/pam.d/smtp file,
dovecot will fail to authenticate.

/etc/pam.d/smtp:
auth	sufficient	pam_dotfile.so no_warn fork
auth	required	pam_deny.so

extract from /etc/dovecot/dovecot.conf:
auth default {
  passdb pam {
    args = max_requests=1 %Ls
  }
  socket listen {
    client {
      path = /var/spool/postfix/private/auth
      mode = 0660
      user = postfix
      group = postfix
    }
  }
}

/usr/lib/dovecot/authtest -a /var/spool/postfix/private/auth -s smtp <user> <password>

fails if the "fork" option is removed.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/



Reply to: