Changeset 988 for vendor/current/libcli/netlogon
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- Location:
- vendor/current/libcli/netlogon
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/libcli/netlogon/netlogon.c
r740 r988 92 92 ntver); 93 93 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); 97 106 } 98 107 response->ntver = NETLOGON_NT_VERSION_5EX; -
vendor/current/libcli/netlogon/netlogon.h
r740 r988 27 27 #include "librpc/gen_ndr/ndr_misc.h" 28 28 #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_response33 {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 };42 29 43 30 struct nbt_netlogon_response … … 52 39 53 40 #include "../libcli/netlogon/netlogon_proto.h" 54 #include "../libcli/netlogon/ndr_netlogon_proto.h"55 41 #endif /* __CLDAP_SERVER_PROTO_H__ */ -
vendor/current/libcli/netlogon/wscript_build
r740 r988 1 1 #!/usr/bin/env python 2 3 bld.SAMBA_SUBSYSTEM('LIBCLI_NDR_NETLOGON',4 source='ndr_netlogon.c',5 public_deps='ndr NDR_SECURITY'6 )7 2 8 3 bld.SAMBA_SUBSYSTEM('LIBCLI_NETLOGON', 9 4 source='netlogon.c', 10 public_deps='samba-util LIBCLI_NDR_NETLOGON'5 public_deps='samba-util ndr_nbt' 11 6 )
Note:
See TracChangeset
for help on using the changeset viewer.