samba 3.0.14a and AIX

Michael Felt mamfelt at acm.org
Tue Aug 9 15:53:53 GMT 2005


I have compiled samba 3.0.14a on AIX 5.2 ML06 with the debug options on 
(without debug I was getting core dumps).

One very basic error is a problem with tdb. There are no 'gdbm.h' files 
on AIX.

Basically, this is what there is:
michael at x054:[/exp/projects/samba-3.0.14a/source/tdb]find / -name \*dbm\*.h
/usr/include/dbm.h
/usr/include/ndbm.h

An example of the errors logged is:
[2005/08/09 17:26:24, 0] tdb/tdbutil.c:tdb_log(725)
  tdb(/usr/local/samba/var/locks/account_policy.tdb): expand_file 
ftruncate to 8192 failed (Invalid file system control data detected)
[2005/08/09 17:26:24, 1] lib/account_pol.c:account_policy_get(204)
  account_policy_get: tdb_fetch_uint32 failed for field 1 (min password 
length), returning 0
[2005/08/09 17:26:24, 0] tdb/tdbutil.c:tdb_log(725)
  tdb(/usr/local/samba/var/locks/account_policy.tdb): expand_file 
ftruncate to 8192 failed (Invalid file system control data detected)
[2005/08/09 17:26:24, 1] lib/account_pol.c:account_policy_set(230)
  tdb_store_uint32 failed for field 1 (min password length) on value 
5account_policy_get: tdb_fetch_uint32 failed for field 2 (password hi
story), returning 0
[2005/08/09 17:26:24, 0] tdb/tdbutil.c:tdb_log(725)
  tdb(/usr/local/samba/var/locks/account_policy.tdb): expand_file 
ftruncate to 8192 failed (Invalid file system control data detected)
[2005/08/09 17:26:24, 1] lib/account_pol.c:account_policy_set(230)
  tdb_store_uint32 failed for field 2 (password history) on value 
0account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logo
n to change password), returning 0
===
Some of the password file errors might be because the password is 
currently coming from an old samba 2.0.X installation.

========
And once it is working and compiling well with gcc I will try the same 
using the IBM C compiler(s).

regards,
Michael


More information about the samba-technical mailing list