[PATCH] s4-dns: dlz_bind9: Fix ipv6 updates

Arvid Requate requate at univention.de
Sat May 17 10:44:34 MDT 2014


The attached patch fixes a bug in the dlz_bind9 module which caused updates of 
existing AAAA records to fail.

b9_record_match did a plain string comparison, not taking into account the 
different representations of IPv6 addresses. In this case bind9 sends the 
record without zero padding, but ndr_pull from the LDB backend retrieves a 
zero padded representation. Since they don't match literally, updates failed 
("deleting rrset" -> "cancelling transaction").

Please review/push.

Thanks,
Arvid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-dns-dlz_bind9-Fix-ipv6-updates.patch
Type: text/x-patch
Size: 1558 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140517/781f763e/attachment.bin>


More information about the samba-technical mailing list