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 Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1571883/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs