system-config-samba.py crashed with SystemError in __init__()

Bug #222305 reported by keldrum
2
Affects Status Importance Assigned to Milestone
system-config-samba (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: system-config-samba

I have just installed the samba management utility (see below - are there errors?) but when I run it it (system > administration > samba), it doesn't open & the crash report appears instead.

sudo apt-get install system-config-samba
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libuser1 python-libuser samba
Suggested packages:
  openbsd-inetd inet-superserver smbldap-tools
The following NEW packages will be installed:
  libuser1 python-libuser samba system-config-samba
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 4202kB of archives.
After this operation, 11.6MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ca.archive.ubuntu.com hardy/universe libuser1 1:0.56.7-1 [83.5kB]
Get:2 http://ca.archive.ubuntu.com hardy/universe python-libuser 1:0.56.7-1 [56.4kB]
Get:3 http://ca.archive.ubuntu.com hardy/main samba 3.0.28a-1ubuntu4 [3838kB]
Get:4 http://ca.archive.ubuntu.com hardy/universe system-config-samba 1.2.50-0ubuntu2 [225kB]
Fetched 4202kB in 2min57s (23.7kB/s)
Preconfiguring packages ...
Selecting previously deselected package libuser1.
(Reading database ... 105351 files and directories currently installed.)
Unpacking libuser1 (from .../libuser1_1%3a0.56.7-1_i386.deb) ...
Selecting previously deselected package python-libuser.
Unpacking python-libuser (from .../python-libuser_1%3a0.56.7-1_i386.deb) ...
Selecting previously deselected package samba.
Unpacking samba (from .../samba_3.0.28a-1ubuntu4_i386.deb) ...
Selecting previously deselected package system-config-samba.
Unpacking system-config-samba (from .../system-config-samba_1.2.50-0ubuntu2_all.deb) ...
Setting up libuser1 (1:0.56.7-1) ...

Setting up python-libuser (1:0.56.7-1) ...

Setting up samba (3.0.28a-1ubuntu4) ...
Generating /etc/default/samba...
tdbsam_open: Converting version 0 database to version 3.
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to change password), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine password change), returning 0
Importing account for nobody...ok
Importing account for user...ok
Adding group `sambashare' (GID 124) ...
Done.
Adding user `user' to group `sambashare' ...
Adding user user to group sambashare
Done.
 * Starting Samba daemons [ OK ]

Setting up system-config-samba (1.2.50-0ubuntu2) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place

ProblemType: Crash
Architecture: i386
Date: Fri Apr 25 22:37:05 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/share/system-config-samba/system-config-samba.py
InterpreterPath: /usr/bin/python2.5
Package: system-config-samba 1.2.50-0ubuntu2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/system-config-samba
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/sbin/system-config-samba']
SourcePackage: system-config-samba
Title: system-config-samba.py crashed with SystemError in __init__()
Uname: Linux 2.6.24-16-generic i686
UserGroups:

Revision history for this message
keldrum (kel-kelweb) wrote :
Revision history for this message
Mihai Marinescu (mtmihai-mail) wrote :

Well, running $ gksudo system-config-samba in Terminal produces the same error.
The last line of the error message is: "SystemError: could not open configuration file `/etc/libuser.conf': No such file or directory"
Creating a blank libuser.conf file in /etc solves the problem.

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.