I have provisioned a AD DC using samba-4.11 and have completed the initial
startup. Reviewing the contents of /var/log/samba4/ I see this in
/var/log/samba4/smbd.log.smbd
. . .
[2020/06/05 15:55:18.663269, 2] ../../lib/tdb_wrap/tdb_wrap.c:64(tdb_wrap_log)
tdb(/var/db/samba4/registry.tdb): tdb_open_ex: could not open file
/var/db/samba4/registry.tdb: No such file or directory
[2020/06/05 15:55:19.262908, 2] ../../lib/tdb_wrap/tdb_wrap.c:64(tdb_wrap_log)
tdb(/var/db/samba4/account_policy.tdb): tdb_open_ex: could not open file
/var/db/samba4/account_policy.tdb: No such file or directory
[2020/06/05 15:55:19.263229, 2]
../../source3/passdb/account_pol.c:355(account_policy_get)
account_policy_get: tdb_fetch_uint32_t failed for type 1 (min password
length), returning 0
[2020/06/05 15:55:19.263288, 2]
../../source3/passdb/account_pol.c:355(account_policy_get)
account_policy_get: tdb_fetch_uint32_t failed for type 2 (password history),
returning 0
[2020/06/05 15:55:19.263330, 2]
../../source3/passdb/account_pol.c:355(account_policy_get)
account_policy_get: tdb_fetch_uint32_t failed for type 3 (user must logon to
change password), returning 0
[2020/06/05 15:55:19.263380, 2]
../../source3/passdb/account_pol.c:355(account_policy_get)
account_policy_get: tdb_fetch_uint32_t failed for type 4 (maximum password
age), returning 0
[2020/06/05 15:55:19.263421, 2]
../../source3/passdb/account_pol.c:355(account_policy_get)
account_policy_get: tdb_fetch_uint32_t failed for type 5 (minimum password
age), returning 0
[2020/06/05 15:55:19.263462, 2]
../../source3/passdb/account_pol.c:355(account_policy_get)
account_policy_get: tdb_fetch_uint32_t failed for type 6 (lockout duration),
returning 0
[2020/06/05 15:55:19.263516, 2]
../../source3/passdb/account_pol.c:355(account_policy_get)
account_policy_get: tdb_fetch_uint32_t failed for type 7 (reset count
minutes), returning 0
[2020/06/05 15:55:19.263557, 2]
../../source3/passdb/account_pol.c:355(account_policy_get)
account_policy_get: tdb_fetch_uint32_t failed for type 8 (bad lockout
attempt), returning 0
[2020/06/05 15:55:19.263598, 2]
../../source3/passdb/account_pol.c:355(account_policy_get)
account_policy_get: tdb_fetch_uint32_t failed for type 9 (disconnect time),
returning 0
[2020/06/05 15:55:19.263647, 2]
../../source3/passdb/account_pol.c:355(account_policy_get)
account_policy_get: tdb_fetch_uint32_t failed for type 10 (refuse machine
password change), returning 0
What do the tdb_fetch_uint32_t failures signify? How are the files
/var/db/samba4/account_policy.tdb and /var/db/samba4/registry.tdb created?
In the log file named /var/log/samba4/smbd.log.%m I see these entries:
. . .
Calling samba_kcc script
[2020/06/05 16:05:19.246944, 2]
../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)
/usr/local/sbin/samba_dnsupdate: Failed update of 5 entries
[2020/06/05 16:05:19.301164, 0]
../../source4/dsdb/dns/dns_update.c:331(dnsupdate_nameupdate_done)
dnsupdate_nameupdate_done: Failed DNS update with exit code 5
. . .
What is the significance of these failures?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3