Changeset 124 for branches/samba-3.0/source/rpc_parse
- Timestamp:
- Mar 12, 2008, 9:08:18 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/rpc_parse/parse_samr.c
r62 r124 5183 5183 POLICY_HND *pol, 5184 5184 const char *name, 5185 uint32 acb_info, uint32 acc ess_mask)5185 uint32 acb_info, uint32 acct_flags) 5186 5186 { 5187 5187 DEBUG(5, ("samr_init_samr_q_create_user\n")); … … 5193 5193 5194 5194 q_u->acb_info = acb_info; 5195 q_u->acc ess_mask = access_mask;5195 q_u->acct_flags = acct_flags; 5196 5196 } 5197 5197 … … 5224 5224 if(!prs_uint32("acb_info ", ps, depth, &q_u->acb_info)) 5225 5225 return False; 5226 if(!prs_uint32("acc ess_mask", ps, depth, &q_u->access_mask))5226 if(!prs_uint32("acct_flags", ps, depth, &q_u->acct_flags)) 5227 5227 return False; 5228 5228 … … 5870 5870 } 5871 5871 } 5872 5873 5874 /************************************************************************* 5875 init_samr_user_info25P 5876 fields_present = ACCT_NT_PWD_SET | ACCT_LM_PWD_SET | ACCT_FLAGS 5877 *************************************************************************/ 5878 5879 void init_sam_user_info25P(SAM_USER_INFO_25 * usr, 5880 uint32 fields_present, uint32 acb_info, 5881 char newpass[532]) 5882 { 5883 usr->fields_present = fields_present; 5884 ZERO_STRUCT(usr->padding1); 5885 ZERO_STRUCT(usr->padding2); 5886 5887 usr->acb_info = acb_info; 5888 memcpy(usr->pass, newpass, sizeof(usr->pass)); 5889 } 5890 5872 5891 5873 5892 /*******************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.