diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-12-20 14:37:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:32 -0500 |
commit | bb072199b14c0e877360475eefb89021e7ec0bcf (patch) | |
tree | 58be480b14d6340d9a758a5613f7c878e34aa3cd /source4/rpc_server/epmapper | |
parent | 545c190d2a655a3d96ea6cd19f8fecb4b63555db (diff) | |
download | samba-bb072199b14c0e877360475eefb89021e7ec0bcf.tar.gz samba-bb072199b14c0e877360475eefb89021e7ec0bcf.tar.bz2 samba-bb072199b14c0e877360475eefb89021e7ec0bcf.zip |
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 used to be commit a150bdf140d9165a05cbc7cac40b6e3c03a7bd3c)
Diffstat (limited to 'source4/rpc_server/epmapper')
-rw-r--r-- | source4/rpc_server/epmapper/rpc_epmapper.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/rpc_server/epmapper/rpc_epmapper.c b/source4/rpc_server/epmapper/rpc_epmapper.c index 8f4450c2ef..8519f99486 100644 --- a/source4/rpc_server/epmapper/rpc_epmapper.c +++ b/source4/rpc_server/epmapper/rpc_epmapper.c @@ -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++; } } |