Comment 9 for bug 1726143

Revision history for this message
Tim Lunn (darkxst) wrote :

With the removal of the pam-smbpass module there is no longer any syncing of Ubuntu/System accounts into Samba. This means to get password protected shares working after installing samba the user would need to run:

sudo smbpasswd -a <username>

Keeping in mind that there is password sync the other way (on by default in the Ubuntu shipped samba config atleast) and the above command will also change you Ubuntu login password if you enter a different password.

After that nautilus-share should work as normal for both guest and protected user shares.

pam_winbind was proposed at the time of removal as the replacement, but I don't think that will work on a standalone system that is not going to support ldap.

So I guess the best we can do here is:
  - stop trying to install libpam-smbpass package
  - pop-up a dialog instructing the user to run the smbpasswd command or better pop-up a dialog allowing the user to set their samba password (using debconf maybe?)

I will upload a fix for the first part, but the second part will need some design consideration and probably a UIFe.