summaryrefslogtreecommitdiff
path: root/librpc/idl/backupkey.idl
diff options
context:
space:
mode:
authorArvid Requate <requate@univention.de>2014-07-07 18:43:05 +0200
committerAndrew Bartlett <abartlet@samba.org>2015-02-25 01:08:11 +0100
commit3bc3bec6d702ef62bf026ff64855edc8fb900088 (patch)
tree18fbc5d63bd0f3dd3599d9ecac3c22147b7c81b6 /librpc/idl/backupkey.idl
parent6af3cf60e31fdaa0873f45fd821165e265335c55 (diff)
downloadsamba-3bc3bec6d702ef62bf026ff64855edc8fb900088.tar.gz
s4-backupkey: fix ndr_pull error on empty input
[MS-BKRP] 3.1.4.1 specifies for BACKUPKEY_RETRIEVE_BACKUP_KEY_GUID that the server must ignore the input data. This patch fixes ndr_pull_error(11): Pull bytes 4 (../librpc/ndr/ndr_basic.c:148) Signed-off-by: Arvid Requate <requate@univention.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'librpc/idl/backupkey.idl')
-rw-r--r--librpc/idl/backupkey.idl5
1 files changed, 4 insertions, 1 deletions
diff --git a/librpc/idl/backupkey.idl b/librpc/idl/backupkey.idl
index e21030bb69a..b504ca578e9 100644
--- a/librpc/idl/backupkey.idl
+++ b/librpc/idl/backupkey.idl
@@ -47,6 +47,9 @@ interface backupkey
uint8 key[256];
} bkrp_dc_serverwrap_key;
+ [public] typedef struct {
+ } bkrp_empty;
+
[public,gensize] typedef struct {
uint32 version;
uint32 encrypted_secret_len;
@@ -103,7 +106,7 @@ interface backupkey
[public] typedef [nodiscriminant] union {
[case(BACKUPKEY_RESTORE_GUID_INTEGER)] bkrp_client_side_wrapped restore_req;
- [case(BACKUPKEY_RETRIEVE_BACKUP_KEY_GUID_INTEGER)] bkrp_client_side_wrapped cert_req;
+ [case(BACKUPKEY_RETRIEVE_BACKUP_KEY_GUID_INTEGER)] bkrp_empty empty;
} bkrp_data_in_blob;
/******************/