summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2016-01-21 17:08:18 +1300
committerKarolin Seeger <kseeger@samba.org>2016-03-08 11:55:22 +0100
commit14de52376205f531f49e7cae0cf32200d0b8aca4 (patch)
tree201ebada3ab33aeef14d0d5f3834657831ac49ef /python
parent3115b40b057419fcd59af451d6a39813fb62b1b6 (diff)
downloadsamba-14de52376205f531f49e7cae0cf32200d0b8aca4.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>
Diffstat (limited to 'python')
-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 6cb2ae80476..7fdb10e82f0 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)