Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/libcli/netlogon/netlogon.c

    r740 r988  
    9292                        ntver);
    9393                if (ndr->offset < ndr->data_size) {
    94                         ndr_err = ndr_pull_error(ndr, NDR_ERR_UNREAD_BYTES,
    95                                                  "not all bytes consumed ofs[%u] size[%u]",
    96                                                  ndr->offset, ndr->data_size);
     94                        TALLOC_FREE(ndr);
     95                        /*
     96                         * We need to handle a bug in FreeIPA (at least <= 4.1.2).
     97                         *
     98                         * They include the ip address information without setting
     99                         * NETLOGON_NT_VERSION_5EX_WITH_IP, while using
     100                         * ndr_push_NETLOGON_SAM_LOGON_RESPONSE_EX instead of
     101                         * ndr_push_NETLOGON_SAM_LOGON_RESPONSE_EX_with_flags.
     102                         */
     103                        ndr_err = ndr_pull_struct_blob_all(data, mem_ctx,
     104                                                   &response->data.nt5,
     105                                                   (ndr_pull_flags_fn_t)ndr_pull_NETLOGON_SAM_LOGON_RESPONSE_EX);
    97106                }
    98107                response->ntver = NETLOGON_NT_VERSION_5EX;
Note: See TracChangeset for help on using the changeset viewer.