[Samba] tombstone record has 1 neighbour records

Bartłomiej Kamiński bartlomiej.kaminski at bloom.pl
Mon Apr 8 09:46:39 UTC 2024


sending once again without pgp signing because message was trimmed

Hi,

after update Samba on DCs to 4.20 logs are fulfilled with messages like 
this:

> [2024/04/08 10:02:19.491146,  0] 
> source4/dns_server/dnsserver_common.c:1038(dns_common_replace)
> dns_common_replace: tombstone record has 1 neighbour records.

I have reached log level to 3 in smb.conf and I see that this log is 
preceded by dns record update request:

> [2024/04/08 10:27:09.942141,  2] 
> source4/dns_server/dns_update.c:834(dns_server_process_update)
> Got a dns update request.
> [2024/04/08 10:27:09.942273,  2] 
> source4/dns_server/dns_update.c:791(dns_update_allowed)
> Update not allowed for unsigned packet.
> [2024/04/08 10:27:09.955219,  3] 
> lib/ldb-samba/ldb_wrap.c:332(ldb_wrap_connect)
> ldb_wrap open of privilege.ldb
> [2024/04/08 10:27:09.959169,  3] 
> source4/samba/service_stream.c:67(stream_terminate_connection)
> stream_terminate_connection: Terminating connection - 
> 'dns_tcp_call_loop: tstream_read_pdu_blob_recv() - 
> NT_STATUS_CONNECTION_RESET'
> [2024/04/08 10:27:09.960597,  2] 
> source4/dns_server/dns_update.c:834(dns_server_process_update)
> Got a dns update request.
> [2024/04/08 10:27:09.961275,  3] 
> source4/dns_server/dns_update.c:397(handle_one_update)
> handle_one_update: Looking at record:
> [2024/04/08 10:27:09.961295,  1] 
> source4/dns_server/dns_update.c:399(handle_one_update)
> discard_const(update): struct dns_res_rec
> name                     : MASKED
> rr_type                  : DNS_QTYPE_AAAA (0x1C)
> rr_class                 : DNS_QCLASS_ANY (0xFF)
> ttl                      : 0x00000000 (0)
> length                   : 0x0000 (0)
> rdata                    : union dns_rdata(case 0x1C)
> ipv6_record              : (null)
> unexpected               : DATA_BLOB length=0
> [2024/04/08 10:27:09.961947,  3] 
> source4/dns_server/dns_update.c:397(handle_one_update)
> handle_one_update: Looking at record:
> [2024/04/08 10:27:09.961967,  1] 
> source4/dns_server/dns_update.c:399(handle_one_update)
> discard_const(update): struct dns_res_rec
> name                     : MASKED
> rr_type                  : DNS_QTYPE_A (0x1)
> rr_class                 : DNS_QCLASS_ANY (0xFF)
> ttl                      : 0x00000000 (0)
> length                   : 0x0000 (0)
> rdata                    : union dns_rdata(case 0x1)
> ipv4_record              : (null)
> unexpected               : DATA_BLOB length=0
> [2024/04/08 10:27:09.962646,  3] 
> source4/dns_server/dns_update.c:397(handle_one_update)
> handle_one_update: Looking at record:
> [2024/04/08 10:27:09.962666,  1] 
> source4/dns_server/dns_update.c:399(handle_one_update)
> discard_const(update): struct dns_res_rec
> name                     : MASKED
> rr_type                  : DNS_QTYPE_A (0x1)
> rr_class                 : DNS_QCLASS_IN (0x1)
> ttl                      : 0x000004b0 (1200)
> length                   : 0x0004 (4)
> rdata                    : union dns_rdata(case 0x1)
> ipv4_record              : MASKED
> unexpected               : DATA_BLOB length=0
> [2024/04/08 10:27:09.962838,  0] 
> source4/dns_server/dnsserver_common.c:1038(dns_common_replace)
> dns_common_replace: tombstone record has 1 neighbour records.
> [2024/04/08 10:27:09.963767,  3] 
> source4/dsdb/samdb/ldb_modules/descriptor.c:1885(descriptor_prepare_commit)
> descriptor_prepare_commit: changes: num_registrations=0
> [2024/04/08 10:27:09.963783,  3] 
> source4/dsdb/samdb/ldb_modules/descriptor.c:1887(descriptor_prepare_commit)
> descriptor_prepare_commit: changes: num_registered=0
> [2024/04/08 10:27:09.963790,  3] 
> source4/dsdb/samdb/ldb_modules/descriptor.c:1997(descriptor_prepare_commit)
> descriptor_prepare_commit: changes: num_toplevel=0
> [2024/04/08 10:27:09.963796,  3] 
> source4/dsdb/samdb/ldb_modules/descriptor.c:2018(descriptor_prepare_commit)
> descriptor_prepare_commit: changes: num_processed=0
> [2024/04/08 10:27:09.963801,  3] 
> source4/dsdb/samdb/ldb_modules/descriptor.c:2019(descriptor_prepare_commit)
> descriptor_prepare_commit: objects: num_processed=0
> [2024/04/08 10:27:09.963807,  3] 
> source4/dsdb/samdb/ldb_modules/descriptor.c:2020(descriptor_prepare_commit)
> descriptor_prepare_commit: objects: num_skipped=0

The record seems to be updated properly.

Can someone give some advice how to check what causes this and how to 
resolve it?

Regards,

Bartek


More information about the samba mailing list