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 Desktop
Packages, which is subscribed to nautilus-share in Ubuntu.
https://bugs.launchpad.net/bugs/1726143

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

Status in nautilus-share package in Ubuntu:
  Confirmed
Status in nautilus-share source package in Bionic:
  Confirmed

Bug description:
  I actually have no idea if this is really a Nautilus issue but didn't
  know where else to file it.

  I have a fresh install of ubuntu 17.10.  I start nautilus (using
  File).  I right-click on a folder and select "Local Network Share".
  When I select "Share this folder" it says the sharing service is not
  installed, so I select "Install Service" and it offers to install
  samba for me.

  I click "install" and it proceeds, then throws up an error dialog:

  Could not find package 'libpam-smbpass'

  I can see that Samba packages are already installed at this point.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: nautilus 1:3.26.0-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sun Oct 22 15:43:28 2017
  InstallationDate: Installed on 2017-10-21 (1 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to