Ignore:
Timestamp:
Mar 12, 2008, 9:08:18 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.28a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/rpc_parse/parse_samr.c

    r62 r124  
    51835183                             POLICY_HND *pol,
    51845184                             const char *name,
    5185                              uint32 acb_info, uint32 access_mask)
     5185                             uint32 acb_info, uint32 acct_flags)
    51865186{
    51875187        DEBUG(5, ("samr_init_samr_q_create_user\n"));
     
    51935193
    51945194        q_u->acb_info = acb_info;
    5195         q_u->access_mask = access_mask;
     5195        q_u->acct_flags = acct_flags;
    51965196}
    51975197
     
    52245224        if(!prs_uint32("acb_info   ", ps, depth, &q_u->acb_info))
    52255225                return False;
    5226         if(!prs_uint32("access_mask", ps, depth, &q_u->access_mask))
     5226        if(!prs_uint32("acct_flags", ps, depth, &q_u->acct_flags))
    52275227                return False;
    52285228
     
    58705870        }
    58715871}
     5872
     5873
     5874/*************************************************************************
     5875 init_samr_user_info25P
     5876 fields_present = ACCT_NT_PWD_SET | ACCT_LM_PWD_SET | ACCT_FLAGS
     5877*************************************************************************/
     5878
     5879void 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
    58725891
    58735892/*******************************************************************
Note: See TracChangeset for help on using the changeset viewer.