librpc/dns: remove original_id from dns_fake_tsig_rec
authorRalph Boehme <slow@samba.org>
Sat, 14 May 2016 17:08:51 +0000 (19:08 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 23 Jun 2016 10:10:22 +0000 (12:10 +0200)
commitd2ab8d34e2d76885ed89d7930c96092e65624b66
tree8bcced2272a4d8c1da186aa291c8a1bfe89cd789
parent33a6532252382fba78e5d423f0ef7c0d9ad1a4d0
librpc/dns: remove original_id from dns_fake_tsig_rec

Cf RFC2845, 3.4.2. "TSIG Variables", the request id (original_id) is not
used in the MAC calculation. This also explains the mysterious 2 bytes
padding.

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 bea4aec521576576b8dc55065f11c6c5025d9c4f)
librpc/idl/dns.idl
source4/dns_server/dns_crypto.c