From 8a2df44f2ff6a1bec35a723d4083aae3fe5a3c78 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 28 Jun 2017 09:09:14 +0200 Subject: [PATCH 1/1] more [flag(NDR_SECRET)]... --- librpc/idl/netlogon.idl | 12 ++++++------ librpc/idl/samr.idl | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/librpc/idl/netlogon.idl b/librpc/idl/netlogon.idl index 22f86b920766..2dc26c41624e 100644 --- a/librpc/idl/netlogon.idl +++ b/librpc/idl/netlogon.idl @@ -151,7 +151,7 @@ interface netlogon typedef [flag(NDR_PAHEX)] struct { uint16 length; [value(length)] uint16 size; - [size_is(length),length_is(length)] uint8 *data; + [flag(NDR_SECRET)][size_is(length),length_is(length)] uint8 *data; } netr_ChallengeResponse; typedef [flag(NDR_PAHEX)] struct { @@ -190,11 +190,11 @@ interface netlogon } netr_LogonLevel; typedef [public,flag(NDR_PAHEX)] struct { - uint8 key[16]; + [flag(NDR_SECRET)] uint8 key[16]; } netr_UserSessionKey; typedef [public,flag(NDR_PAHEX)] struct { - uint8 key[8]; + [flag(NDR_SECRET)] uint8 key[8]; } netr_LMSessionKey; /* Flags for user_flags below */ @@ -421,8 +421,8 @@ interface netlogon uint16 lm_length; [value(lm_length)] uint16 lm_size; uint32 lm_flags; - uint8 nt_history[nt_length]; - uint8 lm_history[lm_length]; + [flag(NDR_SECRET)] uint8 nt_history[nt_length]; + [flag(NDR_SECRET)] uint8 lm_history[lm_length]; } netr_PasswordHistory; typedef struct { @@ -1440,7 +1440,7 @@ interface netlogon } NL_PASSWORD_VERSION; typedef [flag(NDR_PAHEX)] struct { - uint8 data[512]; + [flag(NDR_SECRET)] uint8 data[512]; uint32 length; } netr_CryptPassword; diff --git a/librpc/idl/samr.idl b/librpc/idl/samr.idl index b9d1d34ae33f..e707c6211e81 100644 --- a/librpc/idl/samr.idl +++ b/librpc/idl/samr.idl @@ -906,7 +906,7 @@ import "misc.idl", "lsa.idl", "security.idl"; } samr_UserInfo17; typedef [public, flag(NDR_PAHEX)] struct { - uint8 hash[16]; + [flag(NDR_SECRET)] uint8 hash[16]; } samr_Password; typedef struct { @@ -997,7 +997,7 @@ import "misc.idl", "lsa.idl", "security.idl"; } samr_UserInfo21; typedef [public, flag(NDR_PAHEX)] struct { - uint8 data[516]; + [flag(NDR_SECRET)] uint8 data[516]; } samr_CryptPassword; typedef struct { @@ -1011,7 +1011,7 @@ import "misc.idl", "lsa.idl", "security.idl"; } samr_UserInfo24; typedef [flag(NDR_PAHEX)] struct { - uint8 data[532]; + [flag(NDR_SECRET)] uint8 data[532]; } samr_CryptPasswordEx; typedef struct { -- 2.34.1