dns wildcards: tests to confirm BUG 13536
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 18 Jul 2018 03:29:21 +0000 (15:29 +1200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Aug 2018 10:56:36 +0000 (12:56 +0200)
commita01a98182a5d4eaeddd7b127b8beb5028f7b08b2
tree8aa77f978a6cf5298452e4ab037923b73a1b8ca2
parent25e23c273c4c7c20cc297f04eaab8e9e8cad0bdb
dns wildcards: tests to confirm BUG 13536

DNS wildcard matching failing if more than one label to the left of the
wildcard. This commits adds tests to confirm the bug.

Wildcard entry: *.example.org
bar.example.com matches
foo.bar.example.com does not, but it it should.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 0d3aec18679a2637430263a55de5e210a9201e21)
python/samba/tests/dns_wildcard.py
selftest/knownfail.d/dns_wildcard [new file with mode: 0644]