dns_server: Use the indexed "name" attribute in wildcard lookup
authorAndrew Bartlett <abartlet@samba.org>
Mon, 18 Dec 2017 03:22:23 +0000 (16:22 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 19 Dec 2017 06:19:21 +0000 (07:19 +0100)
commit071ad56aef33c2bfb3840e1a114e17272e926890
treefa6f2cdfcbe707597d9320abe734a69e1b2037a8
parent93a5dce93308539fdd7b56903f3cabed59c0f37e
dns_server: Use the indexed "name" attribute in wildcard lookup

(the RDN, being 'dc' in this use case, does not have an index in
the AD schema).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13191

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dns_server/dnsserver_common.c