system-config-samba.py crashed with SystemError in __init__()
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://
Get:2 http://
Get:3 http://
Get:4 http://
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_
Selecting previously deselected package python-libuser.
Unpacking python-libuser (from .../python-
Selecting previously deselected package samba.
Unpacking samba (from .../samba_
Selecting previously deselected package system-
Unpacking system-config-samba (from .../system-
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/
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/
InterpreterPath: /usr/bin/python2.5
Package: system-config-samba 1.2.50-0ubuntu2
PackageArchitec
ProcCmdline: /usr/bin/python /usr/sbin/
ProcEnviron:
PATH=/
LANG=en_CA.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: system-config-samba
Title: system-
Uname: Linux 2.6.24-16-generic i686
UserGroups:
Well, running $ gksudo system-config-samba in Terminal produces the same error. conf': No such file or directory"
The last line of the error message is: "SystemError: could not open configuration file `/etc/libuser.
Creating a blank libuser.conf file in /etc solves the problem.