dns wildcards: tests to confirm BUG 13536
commit14963928ffb908ff49e0261915c7d651ba9b7b97
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 18 Jul 2018 03:29:21 +0000 (18 15:29 +1200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 31 Jul 2018 10:36:25 +0000 (31 12:36 +0200)
tree1a0a9f0f9973c78cec3ec649e6ecc9ad2523c443
parent9ad7af6899c2fd7b9498a0f0db8189a6c2f59015
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]