dns: treating fully qualified and unqualified zone as identical.
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Fri, 17 Aug 2018 05:30:20 +0000 (17:30 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 20 Dec 2018 22:40:26 +0000 (23:40 +0100)
commitebc42cb140ca7477428798678f8552ef76a04dec
treefb4bd0d6d73b7346953ccade6d9414b9ad79b742
parentdd6175a273c7376ec6960f9a8f519fcfcf79ed37
dns: treating fully qualified and unqualified zone as identical.

"zone.com." and "zone.com" should be treated as the same zone.  This patch
picks the unqualified representation as standard and enforces it, in order to
match BIND9 behaviour.
Note: This fixes the failing test added previously, but that test still fails
on the rodc test target so we modify the expected failure but don't remove it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13442
Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/knownfail.d/dns
source4/rpc_server/dnsserver/dcerpc_dnsserver.c
source4/rpc_server/dnsserver/dnsutils.c