summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2016-01-21 17:08:18 +1300
committerKarolin Seeger <kseeger@samba.org>2016-02-24 11:43:42 +0100
commit9f7a2a1fef9735a15163b73e13f38e1666601666 (patch)
treeda7e4388f5da8b9e79a5fdaa83f5c96ca4aa4165
parent51ac36e014cfbf5f7d0efdb65490d66e6edc3d6f (diff)
downloadsamba-9f7a2a1fef9735a15163b73e13f38e1666601666.tar.gz
CVE-2016-0771: tests/dns: Add a comment regarding odd Windows behaviour
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11128 BUG: https://bugzilla.samba.org/show_bug.cgi?id=11686 Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--python/samba/tests/dns.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/samba/tests/dns.py b/python/samba/tests/dns.py
index 3e8c2a37c00..5f9f3e27f8c 100644
--- a/python/samba/tests/dns.py
+++ b/python/samba/tests/dns.py
@@ -963,6 +963,7 @@ class TestZones(DNSTest):
self.finish_name_packet(p, questions)
response = self.dns_transaction_udp(p)
+ # Windows returns OK while BIND logically seems to return NXDOMAIN
self.assert_dns_rcode_equals(response, dns.DNS_RCODE_NXDOMAIN)
self.assert_dns_opcode_equals(response, dns.DNS_OPCODE_QUERY)
self.assertEquals(response.ancount, 0)