From dbe3308cbaf188402f1fa1268702cd4e8b9d7f08 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 6 Nov 2024 17:48:05 +0100 Subject: [PATCH] samr/netlogon.idl: add [flag(NDR_SECRET)] in some more places Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- 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 f9672b1bf54..54c46adeb81 100644 --- a/librpc/idl/netlogon.idl +++ b/librpc/idl/netlogon.idl @@ -240,11 +240,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 */ @@ -281,11 +281,11 @@ interface netlogon uint32 primary_gid; samr_RidWithAttributeArray groups; netr_UserFlags user_flags; - [flag(NDR_SECRET)] netr_UserSessionKey key; + netr_UserSessionKey key; lsa_StringLarge logon_server; lsa_StringLarge logon_domain; dom_sid2 *domain_sid; - [flag(NDR_SECRET)] netr_LMSessionKey LMSessKey; + netr_LMSessionKey LMSessKey; samr_AcctFlags acct_flags; uint32 sub_auth_status; NTTIME last_successful_logon; @@ -1558,7 +1558,7 @@ interface netlogon } NL_PASSWORD_VERSION; typedef [flag(NDR_PAHEX)] struct { - uint8 data[512]; + [flag(NDR_SECRET)] uint8 data[512]; uint32 length; } netr_CryptPassword; @@ -1621,7 +1621,7 @@ interface netlogon [in] [string,charset(UTF16)] uint16 *computer_name, [in,ref] netr_Authenticator *credential, [out,ref] netr_Authenticator *return_authenticator, - [in,ref] [size_is(buffer_len)] uint8 *opaque_buffer, + [in,ref] [size_is(buffer_len)][flag(NDR_SECRET)] uint8 *opaque_buffer, [in] uint32 buffer_len ); diff --git a/librpc/idl/samr.idl b/librpc/idl/samr.idl index 5da0fd75851..d936d171640 100644 --- a/librpc/idl/samr.idl +++ b/librpc/idl/samr.idl @@ -898,7 +898,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 { @@ -989,7 +989,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 { @@ -1003,7 +1003,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.47.3