dns_server: Use the indexed "name" attribute in wildcard lookup
commit7249bc196c46b950341f99f6d7ba9ce0173fcc94
authorAndrew Bartlett <abartlet@samba.org>
Mon, 18 Dec 2017 03:22:23 +0000 (18 16:22 +1300)
committerStefan Metzmacher <metze@samba.org>
Fri, 22 Dec 2017 09:05:07 +0000 (22 10:05 +0100)
tree876a409be10bdb92dc439362a9fa71066aeb5359
parent6c5481b93a3ab506f73a10b9ef5ceb7d169ec4d3
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>
(cherry picked from commit 071ad56aef33c2bfb3840e1a114e17272e926890)
source4/dns_server/dnsserver_common.c