diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 4 | ||||
-rw-r--r-- | source3/include/rpc_samr_old.h | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 38afa0c222..be773f0bc3 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2656,8 +2656,8 @@ void init_sam_user_info21(SAM_USER_INFO_21 *usr, void init_samr_r_query_userinfo(SAMR_R_QUERY_USERINFO *r_u, uint16 switch_value, void *info, uint32 status); BOOL samr_io_r_query_userinfo(char *desc, SAMR_R_QUERY_USERINFO *r_u, prs_struct *ps, int depth); -BOOL samr_io_q_unknown_32(char *desc, SAMR_Q_UNKNOWN_32 *q_u, prs_struct *ps, int depth); -BOOL samr_io_r_unknown_32(char *desc, SAMR_R_UNKNOWN_32 *r_u, prs_struct *ps, int depth); +BOOL samr_io_q_create_user(char *desc, SAMR_Q_CREATE_USER *q_u, prs_struct *ps, int depth); +BOOL samr_io_r_create_user(char *desc, SAMR_R_CREATE_USER *r_u, prs_struct *ps, int depth); void init_samr_q_connect(SAMR_Q_CONNECT *q_u, char *srv_name, uint32 unknown_0); BOOL samr_io_q_connect(char *desc, SAMR_Q_CONNECT *q_u, prs_struct *ps, int depth); diff --git a/source3/include/rpc_samr_old.h b/source3/include/rpc_samr_old.h index 29c1672425..d385f18e76 100644 --- a/source3/include/rpc_samr_old.h +++ b/source3/include/rpc_samr_old.h @@ -92,7 +92,7 @@ SamrTestPrivateFunctionsUser #define SAMR_UNKNOWN_12 0x12 #define SAMR_UNKNOWN_21 0x21 #define SAMR_UNKNOWN_2C 0x2c -#define SAMR_UNKNOWN_32 0x32 +#define SAMR_CREATE_USER 0x32 #define SAMR_UNKNOWN_34 0x34 #define SAMR_CHGPASSWD_USER 0x37 #define SAMR_UNKNOWN_38 0x38 @@ -983,10 +983,10 @@ typedef struct q_samr_unknown_21_info } SAMR_Q_UNKNOWN_21; -/* SAMR_Q_UNKNOWN_32 - probably a "create SAM entry" */ -typedef struct q_samr_unknown_32_info +/* SAMR_Q_CREATE_USER - probably a "create SAM entry" */ +typedef struct q_samr_create_user_info { - POLICY_HND pol; /* policy handle */ + POLICY_HND pol; /* policy handle */ UNIHDR hdr_mach_acct; /* unicode machine account name header */ UNISTR2 uni_mach_acct; /* unicode machine account name */ @@ -995,20 +995,20 @@ typedef struct q_samr_unknown_32_info uint16 unknown_1; /* 16 bit unknown - 0x00B0 */ uint16 unknown_2; /* 16 bit unknown - 0xe005 */ -} SAMR_Q_UNKNOWN_32; +} SAMR_Q_CREATE_USER; -/* SAMR_R_UNKNOWN_32 - probably a "create SAM entry" */ -typedef struct r_samr_unknown_32_info +/* SAMR_R_CREATE_USER - probably a "create SAM entry" */ +typedef struct r_samr_create_user_info { - POLICY_HND pol; /* policy handle */ + POLICY_HND pol; /* policy handle */ /* rid4.unknown - fail: 0030 success: 0x03ff */ DOM_RID4 rid4; /* rid and attributes */ uint32 status; /* return status - fail: 0xC000 0099: user exists */ -} SAMR_R_UNKNOWN_32; +} SAMR_R_CREATE_USER; /* SAMR_Q_OPEN_ALIAS - probably an open */ typedef struct q_samr_open_alias_info |