dns_server: Give WERR_DNS_ERROR_NAME_DOES_NOT_EXIST on empty records
authorAndrew Bartlett <abartlet@samba.org>
Tue, 13 Oct 2015 22:59:26 +0000 (11:59 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 26 Oct 2015 04:11:22 +0000 (05:11 +0100)
commitfff09dae6d299a2b45bda44264c98cfde2348880
treeff4cbb982227135597641824e4cf14296dfe6f96
parent27039a7b1cfe16f40e07c6179887d2ab4f4967a5
dns_server: Give WERR_DNS_ERROR_NAME_DOES_NOT_EXIST on empty records

When not looking for tombstones, a record without a dnsRecord value may as
well not be present, so just return WERR_DNS_ERROR_NAME_DOES_NOT_EXIST

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