librpc/dns: don't compress strings in TKEY and TSIG responses
authorRalph Boehme <slow@samba.org>
Tue, 17 May 2016 12:34:52 +0000 (14:34 +0200)
committerGarming Sam <garming@samba.org>
Wed, 15 Jun 2016 22:06:27 +0000 (00:06 +0200)
commita51f9989564c28aeece50b56a59e9bb60d41340b
tree45f5395bad4dc14c633d3f15675f6e0ffe2d2e33
parentdf079962ef708de96e54ded13da04b6e12ac00d0
librpc/dns: don't compress strings in TKEY and TSIG responses

Certain DNS clients fail TSIG record MAC validation if the TSIG record
contains compressed strings.

Windows DNS server behaviour seems to be to not send compressed names in
TKEY and TSIG records.

This patch ensures we conform to this behaviour.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11520

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
librpc/idl/dns.idl
librpc/ndr/ndr_dns.c