non-aligned. I wonder what sort of wicked substance these
guys were smoking?
*/
- typedef [gensize,flag(NDR_NOALIGN|NDR_LITTLE_ENDIAN)] struct {
+ typedef [public,gensize,flag(NDR_NOALIGN|NDR_LITTLE_ENDIAN)] struct {
uint16 num_floors;
epm_floor floors[num_floors];
} epm_tower;
{
uint32_t addr;
if (!is_ipaddress(address)) {
+ smb_panic(__location__);
return ndr_push_error(ndr, NDR_ERR_IPV4ADDRESS,
"Invalid IPv4 address: '%s'",
address);
}
}
+ DEBUG(0,("binding: %s\n", dcerpc_binding_string(mem_ctx, binding)));
+ NDR_PRINT_DEBUG(epm_tower, tower);
return NT_STATUS_OK;
}
bld.SAMBA_LIBRARY('dcerpc-binding',
source='rpc/dcerpc_error.c rpc/binding.c rpc/dcerpc_util.c rpc/binding_handle.c',
- deps='ndr tevent NDR_DCERPC LIBTSOCKET tevent-util gensec',
+ deps='ndr tevent NDR_DCERPC LIBTSOCKET tevent-util gensec ndr-samba',
pc_files=[],
public_headers='rpc/rpc_common.h',
vnum='0.0.1')
enum dcerpc_transport_t transport;
struct ndr_syntax_id ndr_syntax;
+ NDR_PRINT_IN_DEBUG(epm_Map, r);
+
count = build_ep_list(mem_ctx, dce_call->conn->dce_ctx->endpoint_list, &eps);
ZERO_STRUCT(*r->out.entry_handle);
r->out.towers->twr->tower = eps[i].ep;
r->out.towers->twr->tower_length = 0;
+ NDR_PRINT_OUT_DEBUG(epm_Map, r);
return EPMAPPER_STATUS_OK;
}
*r->out.num_towers = 0;
r->out.towers->twr = NULL;
+ NDR_PRINT_OUT_DEBUG(epm_Map, r);
return EPMAPPER_STATUS_NO_MORE_ENTRIES;
}