summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2016-01-21 10:25:44 +1300
committerKarolin Seeger <kseeger@samba.org>2016-02-24 11:43:58 +0100
commit6395b6c578c78813266c9aa4ae3c0db49bb830ec (patch)
tree64dc1e4a4ff7dc1c1b053a7c55b3e65571eb635f
parent83d94cbaceaae0bc305330dc827f31368c8e3191 (diff)
downloadsamba-6395b6c578c78813266c9aa4ae3c0db49bb830ec.tar.gz
CVE-2016-0771: tests/dns: Correct error code for formerly unrun test
Both Samba and Windows returned NXRRSET 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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/tests/dns.py b/python/samba/tests/dns.py
index e6f502913f4..0f716a3d8f0 100644
--- a/python/samba/tests/dns.py
+++ b/python/samba/tests/dns.py
@@ -387,7 +387,7 @@ class TestDNSUpdates(DNSTest):
p.answers = prereqs
response = self.dns_transaction_udp(p)
- self.assert_dns_rcode_equals(response, dns.DNS_RCODE_FORMERR)
+ self.assert_dns_rcode_equals(response, dns.DNS_RCODE_NXRRSET)
def test_update_prereq_nonexisting_name(self):
"test update with a nonexisting name"