Comment 3 for bug 24741

Revision history for this message
Robert Penz (robert-penz-name) wrote : Re: samba account_policy_get fails on install

Hi!

I can confirm this bug. I've installed 2 machines in the last 2 weeks and got the same. I did an ubuntu server 6.06.1 install and after that I installed ssh and the next command was already following:

# apt-get install samba
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libcupsys2 samba-common
Recommended packages:
  smbldap-tools
The following NEW packages will be installed:
  libcupsys2 samba samba-common
0 upgraded, 3 newly installed, 0 to remove and 25 not upgraded.
Need to get 5041kB of archives.
After unpacking 12.6MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://security.ubuntu.com dapper-security/main samba-common 3.0.22-1ubuntu3.1 [2075kB]
Get:2 http://de.archive.ubuntu.com dapper-updates/main libcupsys2 1.2.2-0ubuntu0.6.06 [121kB]
Get:3 http://security.ubuntu.com dapper-security/main samba 3.0.22-1ubuntu3.1 [2845kB]
Fetched 5041kB in 46s (109kB/s)
Preconfiguring packages ...
Selecting previously deselected package libcupsys2.
(Reading database ... 13422 files and directories currently installed.)
Unpacking libcupsys2 (from .../libcupsys2_1.2.2-0ubuntu0.6.06_i386.deb) ...
Selecting previously deselected package samba-common.
Unpacking samba-common (from .../samba-common_3.0.22-1ubuntu3.1_i386.deb) ...
Selecting previously deselected package samba.
Unpacking samba (from .../samba_3.0.22-1ubuntu3.1_i386.deb) ...
Setting up libcupsys2 (1.2.2-0ubuntu0.6.06) ...

Setting up samba-common (3.0.22-1ubuntu3.1) ...

Setting up samba (3.0.22-1ubuntu3.1) ...
Generating /etc/default/samba...
TDBSAM version too old (0), trying to convert it.
TDBSAM converted successfully.
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
 * Starting Samba daemons