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

Location:
vendor/current/libcli/netlogon
Files:
2 deleted
3 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;
  • vendor/current/libcli/netlogon/netlogon.h

    r740 r988  
    2727#include "librpc/gen_ndr/ndr_misc.h"
    2828#include "librpc/gen_ndr/ndr_security.h"
    29 #include "librpc/gen_ndr/ndr_svcctl.h"
    30 #include "librpc/gen_ndr/ndr_samr.h"
    31 
    32 struct netlogon_samlogon_response
    33 {
    34         uint32_t ntver;
    35         union {
    36                 struct NETLOGON_SAM_LOGON_RESPONSE_NT40 nt4;
    37                 struct NETLOGON_SAM_LOGON_RESPONSE nt5;
    38                 struct NETLOGON_SAM_LOGON_RESPONSE_EX nt5_ex;
    39         } data;
    40 
    41 };
    4229
    4330struct nbt_netlogon_response
     
    5239
    5340#include "../libcli/netlogon/netlogon_proto.h"
    54 #include "../libcli/netlogon/ndr_netlogon_proto.h"
    5541#endif /* __CLDAP_SERVER_PROTO_H__ */
  • vendor/current/libcli/netlogon/wscript_build

    r740 r988  
    11#!/usr/bin/env python
    2 
    3 bld.SAMBA_SUBSYSTEM('LIBCLI_NDR_NETLOGON',
    4         source='ndr_netlogon.c',
    5         public_deps='ndr NDR_SECURITY'
    6         )
    72
    83bld.SAMBA_SUBSYSTEM('LIBCLI_NETLOGON',
    94        source='netlogon.c',
    10         public_deps='samba-util LIBCLI_NDR_NETLOGON'
     5        public_deps='samba-util ndr_nbt'
    116        )
Note: See TracChangeset for help on using the changeset viewer.