1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-13 08:23:49 +03:00

r4288: don't use struct dcerpc_interface_table anymore in the

main rpc server code. let the backends specify a ndr_push/ndr_pull function
like we already do with the dispatch() function.

this allows an interface implmentation to work as real proxy
without needing to know the idl for an interface that means
just the plain decrypted payload can be forwarded

If someone want to write such a backend, patches are wellcome

metze
This commit is contained in:
Stefan Metzmacher
2004-12-20 14:37:54 +00:00
committed by Gerald (Jerry) Carter
parent 99b0dac229
commit a150bdf140
6 changed files with 259 additions and 114 deletions

View File

@@ -72,12 +72,10 @@ static uint32_t build_ep_list(TALLOC_CTX *mem_ctx,
if (!*eps) {
return 0;
}
(*eps)[total].name = iface->iface.ndr->name;
(*eps)[total].name = iface->iface.name;
(*eps)[total].ep_description = d->ep_description;
GUID_from_string(iface->iface.ndr->uuid,
&(*eps)[total].ep_description.object);
(*eps)[total].ep_description.object_version =
iface->iface.ndr->if_version;
GUID_from_string(iface->iface.uuid, &(*eps)[total].ep_description.object);
(*eps)[total].ep_description.object_version = iface->iface.if_version;
total++;
}
}