summaryrefslogtreecommitdiff
path: root/selftest/knownfail.d
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-02-17 18:23:23 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-06-11 02:04:51 +0200
commit75eb2e3a09ed7ab5beac4593d93e6ea0e506f857 (patch)
tree16699c806903d6e542cd6796318854f19c3ed76f /selftest/knownfail.d
parentdfe739a252e994c6091aea0c6220134ed6fa2f72 (diff)
downloadsamba-75eb2e3a09ed7ab5beac4593d93e6ea0e506f857.tar.gz
join.py Add DNS records at domain join time
This avoids issues getting replication going after the DC first starts as the rest of the domain does not have to wait for samba_dnsupdate to run successfully We do not just run samba_dnsupdate as we want to strictly operate against the DC we just joined: - We do not want to query another DNS server - We do not want to obtain a Kerberos ticket for the new DC (as the KDC we select may not be the DC we just joined, and so may not be in sync with the password we just set) - We do not wish to set the _ldap records until we have started - We do not wish to use NTLM (the --use-samba-tool mode forces NTLM) The downside to using DCE/RPC rather than DNS is that these will be regarded as static entries, and (against windows) have a the ACL assigned for static entries. However this is still better than no DNS at all. Because some tests want a DNS record matching their own name this fixes some tests and removes entires from knownfail Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Jun 11 02:04:52 CEST 2017 on sn-devel-144
Diffstat (limited to 'selftest/knownfail.d')
-rw-r--r--selftest/knownfail.d/dns13
-rw-r--r--selftest/knownfail.d/dns-at-join2
2 files changed, 3 insertions, 12 deletions
diff --git a/selftest/knownfail.d/dns b/selftest/knownfail.d/dns
index c40041d1892..cb3003240ea 100644
--- a/selftest/knownfail.d/dns
+++ b/selftest/knownfail.d/dns
@@ -36,19 +36,12 @@ samba.tests.dns.__main__.TestRPCRoundtrip.test_update_add_txt_rpc_to_dns\(rodc:l
samba.tests.dns.__main__.TestZones.test_soa_query\(rodc: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\)
-
-# The SOA override should not pass against the RODC, it must not overstamp
-samba.tests.dns.__main__.TestSimpleQueries.test_one_SOA_query\(rodc:local\)
-
-# The very first DC will have DNS records, but subsequent DCs only get entries into
-# the dns_hosts_file in our selftest env
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_one_mx_query\(vampire_dc:local\)
samba.tests.dns.__main__.TestSimpleQueries.test_qtype_all_query\(vampire_dc:local\)
-samba.tests.dns.__main__.TestSimpleQueries.test_soa_hostname_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_one_mx_query\(rodc:local\)
samba.tests.dns.__main__.TestSimpleQueries.test_qtype_all_query\(rodc:local\)
-samba.tests.dns.__main__.TestSimpleQueries.test_soa_hostname_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\)
diff --git a/selftest/knownfail.d/dns-at-join b/selftest/knownfail.d/dns-at-join
deleted file mode 100644
index 3737f1fb239..00000000000
--- a/selftest/knownfail.d/dns-at-join
+++ /dev/null
@@ -1,2 +0,0 @@
-samba.tests.join.python\(ad_dc_ntvfs\).samba.tests.join.JoinTestCase.test_join_makes_records\(ad_dc_ntvfs\)
-samba.tests.join.python\(ad_dc_ntvfs\).samba.tests.join.JoinTestCase.test_join_records_can_update\(ad_dc_ntvfs\)