Ignore:
Timestamp:
Nov 29, 2012, 1:59:04 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/librpc/gen_ndr/ndr_libnetapi.c

    r745 r751  
    4949_PUBLIC_ enum ndr_err_code ndr_pull_domsid(struct ndr_pull *ndr, int ndr_flags, struct domsid *r)
    5050{
     51
     52
    5153        uint32_t cntr_sub_auths_0;
    5254        TALLOC_CTX *_mem_save_sub_auths_0;
     
    5557                NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->sid_rev_num));
    5658                NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->num_auths));
    57                 NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->id_auth, 6));
    58                 NDR_PULL_ALLOC_N(ndr, r->sub_auths, MAXSUBAUTHS);
     59                size_id_auth_0 = 6;
     60                NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->id_auth, size_id_auth_0));
     61                size_sub_auths_0 = MAXSUBAUTHS;
     62                NDR_PULL_ALLOC_N(ndr, r->sub_auths, size_sub_auths_0);
    5963                _mem_save_sub_auths_0 = NDR_PULL_GET_MEM_CTX(ndr);
    6064                NDR_PULL_SET_MEM_CTX(ndr, r->sub_auths, 0);
    61                 for (cntr_sub_auths_0 = 0; cntr_sub_auths_0 < MAXSUBAUTHS; cntr_sub_auths_0++) {
     65                for (cntr_sub_auths_0 = 0; cntr_sub_auths_0 < ; cntr_sub_auths_0++) {
    6266                        NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sub_auths[cntr_sub_auths_0]));
    6367                }
     
    50365040_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_21(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_21 *r)
    50375041{
     5042
    50385043        if (ndr_flags & NDR_SCALARS) {
    50395044                NDR_CHECK(ndr_pull_align(ndr, 1));
    5040                 NDR_PULL_ALLOC_N(ndr, r->usri21_password, ENCRYPTED_PWLEN);
    5041                 NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->usri21_password, ENCRYPTED_PWLEN));
     5045                size_usri21_password_0 = ENCRYPTED_PWLEN;
     5046                NDR_PULL_ALLOC_N(ndr, r->usri21_password, size_usri21_password_0);
     5047                NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->usri21_password, size_usri21_password_0));
    50425048                NDR_CHECK(ndr_pull_trailer_align(ndr, 1));
    50435049        }
     
    50965102_PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_22(struct ndr_pull *ndr, int ndr_flags, struct USER_INFO_22 *r)
    50975103{
     5104
    50985105        uint32_t _ptr_usri22_logon_hours;
    50995106        TALLOC_CTX *_mem_save_usri22_logon_hours_0;
     
    51015108                NDR_CHECK(ndr_pull_align(ndr, 5));
    51025109                NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->usri22_name));
    5103                 NDR_PULL_ALLOC_N(ndr, r->usri22_password, ENCRYPTED_PWLEN);
    5104                 NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->usri22_password, ENCRYPTED_PWLEN));
     5110                size_usri22_password_0 = ENCRYPTED_PWLEN;
     5111                NDR_PULL_ALLOC_N(ndr, r->usri22_password, size_usri22_password_0);
     5112                NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->usri22_password, size_usri22_password_0));
    51055113                NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_password_age));
    51065114                NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->usri22_priv));
Note: See TracChangeset for help on using the changeset viewer.