diff options
author | Andreas Schneider <asn@samba.org> | 2021-07-30 11:12:07 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2022-07-28 11:51:28 +0000 |
commit | e845afe11aa2ac1bd9abdd3e052487602d5656c0 (patch) | |
tree | 72444390cdc5b1796aa2196284f7ba110b227338 /librpc | |
parent | e181dd7b7633cdc14bcfc4b4ef71044062e0c6b6 (diff) | |
download | samba-e845afe11aa2ac1bd9abdd3e052487602d5656c0.tar.gz |
samr.idl: Add support for new AES encrypted password buffer
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/samr.idl | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/librpc/idl/samr.idl b/librpc/idl/samr.idl index fffa853ce3f..ab9d6d763e8 100644 --- a/librpc/idl/samr.idl +++ b/librpc/idl/samr.idl @@ -779,7 +779,9 @@ import "misc.idl", "lsa.idl", "security.idl"; UserInternal4Information = 23, UserInternal5Information = 24, UserInternal4InformationNew = 25, - UserInternal5InformationNew = 26 + UserInternal5InformationNew = 26, + UserInternal7InformationNew = 31, + UserInternal8InformationNew = 32 } samr_UserInfoLevel; typedef struct { @@ -1014,6 +1016,24 @@ import "misc.idl", "lsa.idl", "security.idl"; uint8 password_expired; } samr_UserInfo26; + typedef struct { + uint8 auth_data[64]; + uint8 salt[16]; + uint32 cipher_len; + [size_is(cipher_len)] uint8 *cipher; + hyper PBKDF2Iterations; + } samr_EncryptedPasswordAES; + + typedef struct { + samr_EncryptedPasswordAES password; + uint8 password_expired; + } samr_UserInfo31; + + typedef struct { + samr_UserInfo21 info; + samr_EncryptedPasswordAES password; + } samr_UserInfo32; + typedef [switch_type(uint16)] union { [case(1)] samr_UserInfo1 info1; [case(2)] samr_UserInfo2 info2; @@ -1038,6 +1058,8 @@ import "misc.idl", "lsa.idl", "security.idl"; [case(24)] samr_UserInfo24 info24; [case(25)] samr_UserInfo25 info25; [case(26)] samr_UserInfo26 info26; + [case(31)] samr_UserInfo31 info31; + [case(32)] samr_UserInfo32 info32; } samr_UserInfo; [public] NTSTATUS samr_QueryUserInfo( |