librpc/dns: don't compress strings in TKEY and TSIG responses
commit33a6532252382fba78e5d423f0ef7c0d9ad1a4d0
authorRalph Boehme <slow@samba.org>
Tue, 17 May 2016 12:34:52 +0000 (17 14:34 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 23 Jun 2016 10:10:22 +0000 (23 12:10 +0200)
tree31866c0c196b30476597a8e484e704f75c2f8580
parentd4cf68c5ae780fad51696d12dfd9d7546cc42f03
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>
(cherry picked from commit a51f9989564c28aeece50b56a59e9bb60d41340b)
librpc/idl/dns.idl
librpc/ndr/ndr_dns.c