dns wildcards: tests to confirm BUG 13536
commitc6d98623215e37d6a28e590413a18f8d9aec9c8b
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 18 Jul 2018 03:29:21 +0000 (18 15:29 +1200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 28 Jul 2018 04:16:15 +0000 (28 06:16 +0200)
treee0d3b17b898c143ad4ad1df395013f39e09c6879
parent066ba51aac130fbd67fe728a692a08ddabbc6ef8
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]