r388: added IDL for 3 more set user info levels (all of which set the
authorAndrew Tridgell <tridge@samba.org>
Wed, 28 Apr 2004 13:13:26 +0000 (13:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:51:36 +0000 (12:51 -0500)
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

index 0e1bdd3b9f2a840650d9f30682ba72272db4fff3..c079114ef383b577cc7757fbd52663c8631f1369 100644 (file)
                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;
                [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(