s4-dns: dlz_bind9: Fix ipv6 updates
authorArvid Requate <requate@univention.de>
Sat, 17 May 2014 16:25:01 +0000 (18:25 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 26 May 2014 01:31:28 +0000 (03:31 +0200)
commitf15d10df29285024eae75eb83e03ff14d22524e6
tree97edc4e5dbf798d8ea94995f9b1e5cb5e0d6896a
parent13b36be68fb54d8e993aefe7b8b5e53f7316a126
s4-dns: dlz_bind9: Fix ipv6 updates

b9_record_match needs to consider all allowed representations of IPv6
addresses (RFC 2373), otherwise DNS subtractrdataset operations fail
due to differences in zero padding between bind9 frontend and ndr_pull
of a dnsp_DnssrvRpcRecord structure.

Change-Id: Ic0a1b16008458993dc644646d7f4ae3d3a3c5fed
Signed-off-by: Arvid Requate <requate@univention.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
Reviewed-by: Guenter Kukkukk <kukks@samba.org>
source4/dns_server/dlz_bind9.c