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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1726143

Title:
  Automatic installation of samba fails with "could not find package
  libpam-smbpass"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus-share/+bug/1726143/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to