Traceback error when opening system-config-samba; no such file/dir: /etc/libuser.conf

Bug #1453223 reported by JaSauders
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
system-config-samba (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Ubuntu 15.04. Fully updated as of this writing. I installed system-config-samba from the repos to manage some samba shares. Upon installation, the "Samba" application icon never appears in the list of applications in the dash. I did however attempt to launch it via terminal as root, but what I got was this.

root@JSZ835:/etc# system-config-samba
Traceback (most recent call last):
  File "/usr/sbin/system-config-samba", line 45, in <module>
    mainWindow.MainWindow(debug_flag)
  File "/usr/share/system-config-samba/mainWindow.py", line 121, in __init__
    self.basic_preferences_win = basicPreferencesWin.BasicPreferencesWin(self, self.xml, self.samba_data, self.samba_backend, self.main_window)
  File "/usr/share/system-config-samba/basicPreferencesWin.py", line 97, in __init__
    self.admin = libuser.admin()
SystemError: could not open configuration file `/etc/libuser.conf': No such file or directory

If I run "touch /etc/libuser.conf", then re-run system-config-samba as the root user, it opens the interface. Even afterwards, the application icon is no where to be found in the dash.

I also noticed the desktop file had this entry: Exec=gksu system-config-samba

However, gksu is seemingly not installed by default on 15.04.

Thank you for your hard work, dedication, and time! Have a great day.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: system-config-samba 1.2.63-0ubuntu6
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri May 8 13:22:37 2015
InstallationDate: Installed on 2015-04-21 (17 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150417.1)
PackageArchitecture: all
SourcePackage: system-config-samba
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
JaSauders (jasauders) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-samba (Ubuntu):
status: New → Confirmed
Changed in system-config-samba (Ubuntu):
importance: Undecided → Medium
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.