AIX/trunk: tdb_lock failed on list 0

Peter Somogyi psomogyi at gamax.hu
Thu Jul 20 17:24:34 GMT 2006


Hi,

I'm always getting the foll. message with samba-trunk (r17040) under AIX 5.3:

tdb(/tests/psomogyi/samba/usr/var/locks/group_mapping.tdb): tdb_lock failed on 
list 0 ltype=0 (Invalid argument)

[other messages are normal]

Has anybody met it?
I also have slowness because of the above call for some operations, too.
Recent SAMBA_3_0_RELEASE doesn't complain, everything seems to work well.

After "make install" into a clean directory:

-bash-3.00# bin/smbpasswd -a user1
New SMB password:Retype new SMB password:startsmbfilepwent_internal: 
file /tests/psomogyi/samba/usr/private/smbpasswd did not exist. File 
successfully created.
tdb(/tests/psomogyi/samba/usr/var/locks/group_mapping.tdb): tdb_lock failed on 
list 0 ltype=0 (Invalid argument)
tdb(/tests/psomogyi/samba/usr/var/locks/group_mapping.tdb): tdb_lock failed on 
list 0 ltype=0 (Invalid argument)
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
Added user user1.

Doing it again:
-bash-3.00# bin/smbpasswd -a user1
New SMB password:Retype new SMB 
password:tdb(/tests/psomogyi/samba/usr/var/locks/group_mapping.tdb): tdb_lock 
failed on list 0 ltype=0 (Invalid argument)
tdb(/tests/psomogyi/samba/usr/var/locks/group_mapping.tdb): tdb_lock failed on 
list 0 ltype=0 (Invalid argument)

-bash-3.00# sbin/smbd
-bash-3.00# tail var/log.smbd
[2006/07/20 12:49:22, 0] smbd/server.c:main(881)
  standard input is not a socket, assuming -D option
[2006/07/20 12:49:22, 0] tdb/tdbutil.c:tdb_log(672)
  tdb(/tests/psomogyi/samba/usr/var/locks/group_mapping.tdb): tdb_lock failed 
on list 0 ltype=0 (Invalid argument)
[2006/07/20 12:49:22, 0] tdb/tdbutil.c:tdb_log(672)
  tdb(/tests/psomogyi/samba/usr/var/locks/group_mapping.tdb): tdb_lock failed 
on list 0 ltype=0 (Invalid argument)
[2006/07/20 12:49:22, 0] tdb/tdbutil.c:tdb_log(672)
  tdb(/tests/psomogyi/samba/usr/var/locks/group_mapping.tdb): tdb_lock failed 
on list 0 ltype=0 (Invalid argument)
[2006/07/20 12:49:22, 0] smbd/dmapi.c:init_dmapi_service(69)
  Initializing DMAPI: AIX DMAPI(02/1997) 1.1

-- 
Peter Somogyi
Gamax Kft
Bartok Bela ut 15/D
H-1114, Budapest, Hungary
e-mail: psomogyi at gamax.hu
phone: +36 1 382 5469


More information about the samba-technical mailing list