diff options
author | Luke Leighton <lkcl@samba.org> | 1999-03-25 15:14:30 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-03-25 15:14:30 +0000 |
commit | fa01e8764c9da8d0e37f07dbe1a3b116a0640acc (patch) | |
tree | 763c4c098e70e9b2ea1214bf7987d28885a16ee0 /source3/include | |
parent | 43a460075a39148060d4193fcb9c62bfa4acc737 (diff) | |
download | samba-fa01e8764c9da8d0e37f07dbe1a3b116a0640acc.tar.gz samba-fa01e8764c9da8d0e37f07dbe1a3b116a0640acc.tar.bz2 samba-fa01e8764c9da8d0e37f07dbe1a3b116a0640acc.zip |
added SAMR_USER_INFO_24 info level to samr_set_userinfo. this is used
by "Welcome to SAMBA Domain".
(This used to be commit 4aed18b5e1e2309c0f6931fbfdd604b01cb9498a)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/include/rpc_samr.h | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 8e8e7e292a..96385144a6 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2476,6 +2476,8 @@ void make_sam_user_info11(SAM_USER_INFO_11 *usr, uint32 rid_group, uint16 acct_ctrl); void sam_io_user_info11(char *desc, SAM_USER_INFO_11 *usr, prs_struct *ps, int depth); +void make_sam_user_info_24(SAM_USER_INFO_24 *usr, + char newpass[516]); void make_sam_user_info23(SAM_USER_INFO_23 *usr, NTTIME *logon_time, /* all zeros */ diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h index 92125f9f2c..9a62bd4b97 100644 --- a/source3/include/rpc_samr.h +++ b/source3/include/rpc_samr.h @@ -200,6 +200,13 @@ typedef struct sam_user_info_23 } SAM_USER_INFO_23; +/* SAM_USER_INFO_24 */ +typedef struct sam_user_info_24 +{ + uint8 pass[516]; + +} SAM_USER_INFO_24; + /* SAM_USER_INFO_21 */ typedef struct sam_user_info_21 @@ -1116,6 +1123,7 @@ typedef struct q_samr_set_user_info union { SAM_USER_INFO_23 *id23; /* auth-level 0x17 */ + SAM_USER_INFO_24 *id24; /* auth-level 0x18 */ void* id; /* to make typecasting easy */ } info; |