torture-backupkey: Add tests that read the secret from the server, and validate
commitf7b6e696ed552f02195c87a7eede5a0090f8df1f
authorAndrew Bartlett <abartlet@samba.org>
Thu, 12 Feb 2015 23:59:45 +0000 (13 12:59 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 25 Feb 2015 00:08:12 +0000 (25 01:08 +0100)
tree63ae427fe7aaba5d2bcbc070c8570977aaa211ab
parent3254f9bc009bae3d8463035d63eb1625f23606e6
torture-backupkey: Add tests that read the secret from the server, and validate

These show that MS-BKRP 3.1.4.1.1 BACKUPKEY_BACKUP_GUID is incorrect when it
states that the key must be the leading 64 bytes, it must be the whole 256 byte
buffer.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/torture/rpc/backupkey.c