From 24be9ddf0a59a0de436b38279172217f1d1798c0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 28 Apr 2004 13:13:26 +0000 Subject: r388: added IDL for 3 more set user info levels (all of which set the password). That makes 8 ways to change a password just on the SAMR pipe! Thanks to Luke Howard from PADL for this. (This used to be commit c8a49a7e004468d13f656f67eac4b7b4e1759022) --- source4/librpc/idl/samr.idl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 0e1bdd3b9f..c079114ef3 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -685,11 +685,30 @@ uint8 data[516]; } samr_CryptPassword; + typedef struct { + samr_UserInfo21 info; + samr_CryptPassword password; + } samr_UserInfo23; + typedef struct { samr_CryptPassword password; uint16 pw_len; } samr_UserInfo24; + typedef struct { + uint8 data[532]; + } samr_CryptPasswordEx; + + typedef struct { + samr_UserInfo21 info; + samr_CryptPasswordEx password; + } samr_UserInfo25; + + typedef struct { + samr_CryptPasswordEx password; + uint16 pw_len; + } samr_UserInfo26; + typedef union { [case(1)] samr_UserInfo1 info1; [case(2)] samr_UserInfo2 info2; @@ -709,7 +728,10 @@ [case(17)] samr_UserInfo17 info17; [case(20)] samr_UserInfo20 info20; [case(21)] samr_UserInfo21 info21; + [case(23)] samr_UserInfo23 info23; [case(24)] samr_UserInfo24 info24; + [case(25)] samr_UserInfo25 info25; + [case(26)] samr_UserInfo26 info26; } samr_UserInfo; NTSTATUS samr_QueryUserInfo( -- cgit