Impossible to login once libpam-smbpass got installed

Bug #1508131 reported by Marco Trevisan (Treviño)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Won't Fix
High
Unassigned

Bug Description

I've just given a friend PC that was not able to log in anymore.

During an upgrade libpam-smbpass got installed, but this caused loggin-in impossible: basically when logging in from lightdm the spinner never stopped, while when logging in from tty1 after some long wait, the login prompt was shown again with no errors.

After removing this lib, everything got fixed.

Changed in samba (Ubuntu):
importance: Undecided → High
Revision history for this message
Brian Murray (brian-murray) wrote :

What release is this?

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Sorry, I forgot that. In 14.04.

Comparing pam.d data with stock I had this:

in /etc/pam.d/common-auth
-auth optional pam_ecryptfs.so unwrap
+auth optional pam_smbpass.so migrate

 # and here are more per-package modules (the "Additional" block)
+password optional pam_smbpass.so nullok use_authtok use_first_pass

Revision history for this message
Andrew Bartlett (abartlet) wrote :

Per this thread https://lists.samba.org/archive/samba-technical/2015-January/105041.html pam_smbpass was removed from Samba 4.4 and later as it links all of Samba into the PAM applications that load it, which is a very bad idea (later seen in #1584485).

Revision history for this message
Mitchell Dzurick (mitchdz) wrote :

I'm going through old open bugs. I assume this bug is not a problem anymore, mostly due to the package libpam-smbpass not being available since Xenial, and the lack of discussion here.

Closing this bug, but please comment if it should be reopened.

Changed in samba (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.