[Bug 1571883] Re: libpam-smbpass:amd64 (2:4.3.8+dfsg-0ubuntu0.14.04.2) causes PAM failure for dovecot
AlainKnaff
1571883 at bugs.launchpad.net
Tue Apr 26 21:48:28 UTC 2016
I had the same issue.
After commenting out the following lines from /usr/share/pam-configs
/smbpasswd-migrate, and re-running pam-auth-update, all worked again:
#Auth-Type: Additional
#Auth-Initial:
# optional pam_smbpass.so migrate
#Auth-Final:
# optional pam_smbpass.so migrate
The relevant lines cause synchronization of samba passwords
_when_user_logs_in_ to any service, rather than just when he changes
passwords. In a steady state system, this is unneeded (Samba password
only needs to change when Unix password changes as well).
I vaguely remember other such issues in the past with these lines. Maybe
they shouldn't be included by default, or be present in a separate pam-
config, to make it easier to disable them independently of the rules in
the "Password" chain?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1571883
Title:
libpam-smbpass:amd64 (2:4.3.8+dfsg-0ubuntu0.14.04.2) causes PAM
failure for dovecot
Status in samba package in Ubuntu:
Confirmed
Bug description:
Dovecot (an IMAP mail server) stopped accepting connections last
night. This happened after libpam-smbpass was automatically upgraded.
Removing the libpam-smbpass package dovecot works again.
Other users are reporting the same behavior here:
http://ubuntuforums.org/showthread.php?t=2320889
From /var/log/syslog:
Apr 18 15:01:04 SERVER dovecot: imap-login: Debug: SSL: where=0x2002, ret=1: SSL negotiation finished successfully [x.x.x.x]
Apr 18 15:01:05 SERVER t of memory [2971]
Apr 18 15:01:05 SERVER dovecot: auth-worker(2971): Error: pam(USER,x.x.x.x): pam_start() failed: Critical error - immediate abort
Apr 18 15:01:11 SERVER dovecot: auth-worker(2971): Error: pam(USER,x.x.x.x): pam_start() failed: Critical error - immediate abort
Apr 18 15:01:13 SERVER dovecot: imap-login: Debug: SSL alert: close notify [x.x.x.x]
Apr 18 15:01:13 SERVER dovecot: imap-login: Debug: SSL alert: close notify [x.x.x.x]
Apr 18 15:01:13 SERVER dovecot: imap-login: Disconnected (auth failed, 2 attempts in 9 secs): user=<USER>, method=PLAIN, rip=x.x.x.x, lip=x.x.x.x, TLS, session=<OJk/f8kwbQDY5HAW>
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libpam-smbpass 2:4.3.8+dfsg-0ubuntu0.14.04.2
ProcVersionSignature: Ubuntu 3.16.0-70.90~14.04.1-generic 3.16.7-ckt25
Uname: Linux 3.16.0-70-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Mon Apr 18 15:36:08 2016
InstallationDate: Installed on 2015-01-08 (466 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
OtherFailedConnect: Yes
ProcEnviron:
TERM=xterm
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
XDG_RUNTIME_DIR=<set>
SambaServerRegression: Yes
SmbConfIncluded: No
SourcePackage: samba
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1571883/+subscriptions
More information about the foundations-bugs
mailing list