mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
cc30805e5c
Since scavenging is implemented the samba_dnsupdate command always updates all
dns records required by the dc. This is not needed if dns zone scavenging
is not enabled.
This avoids the repeating TSIG error messages:
# samba_dnsupdate --option='dns zone scavenging = yes' 2>&1 | uniq -c
29 ; TSIG error with server: tsig verify failure
1 Failed update of 29 entries
# echo ${PIPESTATUS[0]}
29
# samba_dnsupdate --option='dns zone scavenging = no' 2>&1 | uniq -c
# echo ${PIPESTATUS[0]}
0
Note that this results in about 60 lines in the log file,
which triggered every 10 minutes ("dnsupdate:name interval=600" is the default).
This restores the behavior before 8ef42d4dab
,
if "dns zone scavenging" is not switched on (which is still the default).
Avoiding the message from happening at all is subject for more debugging,
most likely they are caused by bugs in 'nsupdate -g' (from the bind package).
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13605
Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Björn Baumbach <bb@sernet.de>
Autobuild-Date(master): Wed Sep 12 18:03:10 CEST 2018 on sn-devel-144
73 lines
5.3 KiB
Plaintext
73 lines
5.3 KiB
Plaintext
# These tests are expected to fail because we want to ensure that
|
|
# unauthenicated updates are not permitted against the default
|
|
# configuration, nor against an RODC
|
|
|
|
samba.tests.dns.__main__.TestDNSUpdates.test_delete_record\(rodc:local\)
|
|
samba.tests.dns.__main__.TestDNSUpdates.test_readd_record\(rodc:local\)
|
|
samba.tests.dns.__main__.TestDNSUpdates.test_update_add_mx_record\(rodc:local\)
|
|
samba.tests.dns.__main__.TestDNSUpdates.test_update_add_txt_record\(rodc:local\)
|
|
samba.tests.dns.__main__.TestInvalidQueries.test_one_a_query\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_empty_txt_records\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_hex_char_txt_record\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_null_char_txt_record\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_null_padded_txt_record\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_slash_txt_record\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_two_txt_records\(rodc:local\)
|
|
samba.tests.dns.__main__.TestDNSUpdates.test_delete_record\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestDNSUpdates.test_readd_record\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestDNSUpdates.test_update_add_mx_record\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestDNSUpdates.test_update_add_txt_record\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestInvalidQueries.test_one_a_query\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_empty_txt_records\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_hex_char_txt_record\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_null_char_txt_record\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_null_padded_txt_record\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_slash_txt_record\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_two_txt_records\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestComplexQueries.test_cname_two_chain\(rodc:local\)
|
|
samba.tests.dns.__main__.TestComplexQueries.test_one_a_query\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_empty_rpc_to_dns\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_hex_rpc_to_dns\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_null_char_rpc_to_dns\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_padding_rpc_to_dns\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_slash_rpc_to_dns\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_two_rpc_to_dns\(rodc:local\)
|
|
samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_txt_rpc_to_dns\(rodc:local\)
|
|
|
|
samba.tests.dns.__main__.TestZones.test_set_aging_disabled\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_set_aging_disabled\(vampire_dc:local\)
|
|
|
|
samba.tests.dns.__main__.TestZones.test_soa_query\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_set_aging\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_aging_update\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_aging_update_disabled\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_aging_refresh\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_rpc_add_no_timestamp\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_basic_scavenging\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_dns_tombstone_custom_match_rule\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_dns_tombstone_custom_match_rule_no_records\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_dns_tombstone_custom_match_rule_fail\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_dynamic_record_static_update\(rodc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_static_record_dynamic_update\(rodc:local\)
|
|
|
|
samba.tests.dns.__main__.TestZones.test_set_aging\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_aging_update\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_aging_update_disabled\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_aging_refresh\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_basic_scavenging\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_dns_tombstone_custom_match_rule\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_dynamic_record_static_update\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestZones.test_static_record_dynamic_update\(vampire_dc:local\)
|
|
|
|
samba.tests.dns.__main__.TestComplexQueries.test_cname_two_chain\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestComplexQueries.test_one_a_query\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestSimpleQueries.test_one_a_query\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestSimpleQueries.test_one_a_query_tcp\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestSimpleQueries.test_qtype_all_query\(vampire_dc:local\)
|
|
samba.tests.dns.__main__.TestSimpleQueries.test_one_a_query\(rodc:local\)
|
|
samba.tests.dns.__main__.TestSimpleQueries.test_one_a_query_tcp\(rodc:local\)
|
|
samba.tests.dns.__main__.TestSimpleQueries.test_qtype_all_query\(rodc:local\)
|
|
|
|
# The SOA override should not pass against the RODC, it must not overstamp
|
|
samba.tests.dns.__main__.TestSimpleQueries.test_one_SOA_query\(rodc:local\)
|