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)
committerGarming Sam <garming@samba.org>
Wed, 15 Jun 2016 22:06:27 +0000 (00:06 +0200)
commitbea4aec521576576b8dc55065f11c6c5025d9c4f
tree7512c366ca2270f53b8d59af87b67d64c7765473
parenta51f9989564c28aeece50b56a59e9bb60d41340b
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>
librpc/idl/dns.idl
source4/dns_server/dns_crypto.c