more [flag(NDR_SECRET)]...
authorStefan Metzmacher <metze@samba.org>
Wed, 28 Jun 2017 07:09:14 +0000 (09:09 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 11:42:34 +0000 (12:42 +0100)
librpc/idl/netlogon.idl
librpc/idl/samr.idl

index 22f86b9207668a5e505ba8ee13bddb410a5f0116..2dc26c41624e11013315c56c5f7bddec85385444 100644 (file)
@@ -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;
 
index b9d1d34ae33f9a01d3e4615e276368f93e1b11bc..e707c6211e81b5df2641284ce84e6a27f48e2801 100644 (file)
@@ -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 {