Folder Sharing dialog does not install libpam-smbpass if samba is already installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nautilus-share (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If you open the Folder Sharing dialog in Nautilus and click "Share this folder" while neither the samba nor libpam-smbpass packages are installed, then Nautilus automatically prompts you to install samba and then libpam-smbpass. However, if samba is already installed and libpam-smbpass is not, Nautilus does NOT prompt you to install libpam-smbpass. Rather, it happily allows you to enable sharing on the folder, which results in a broken configuration because it is impossible for any user to authenticate to access the folder without libpam-smbpass installed.
Expected behaviour:
If either samba or libpam-smbpass are not installed, Nautilus should prompt you to install the missing ones.
Actual behaviour:
If samba is installed and libpam-smbpass is not, Nautilus does not prompt you to install libpam-smbpass and users are unable to authenticate to the shared folder.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: nautilus-share 0.7.3-1ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-35-generic x86_64
ApportVersion: 2.0.1-0ubuntu15.1
Architecture: amd64
Date: Sun Jan 6 10:57:57 2013
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20120703-15:08
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: nautilus-share
UpgradeStatus: No upgrade log present (probably fresh install)
On 07/01/2013 03:06, Tristan Schmelcher wrote:
> [...]
>
> If either samba or libpam-smbpass are not installed, Nautilus should
> prompt you to install the missing ones.
I'm not sure this is really necessary. In the default (fresh install) case, both
samba and libpam-smbpass are not installed, so once if you attempt to share a
folder in that case it will install both packages.
However, when samba is already installed, this means the user has to have either:- smbpass installation and then manually removed
1. Installed samba manually; or
2. Gone through the samba+libpam-
libpam-smbpass.
It's worth noting that libpam-smbpass isn't strictly necessary for the correct
operation of samba or nautilus-share -- I would assume that anyone who has done
either of #1 or #2 would either know how to install libpam-smbpass to get this
functionality, or be able to handle the smbpass management themselves.
Conversely, if we do switch to the "expected behaviour" mentioned above. Users
under scenario #2 would not be able to use nautilus-share without having
libpam-smbpass installed as well. They could, however, use pam-auth-update to
disable libpam-smbpass, so maybe that's not so much of an issue.
--
Kind regards,
Loong Jin