summaryrefslogtreecommitdiffstats
path: root/source/lib/registry/reg_backend_rpc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-27 14:28:01 +0000
committerJelmer Vernooij <jelmer@samba.org>2005-12-27 14:28:01 +0000
commit56e0f15cbd56a3cbb0505fbeadfcb9620ff0fc3d (patch)
tree399b1cc50755aa184917a6ae41f06b9b1c4911ae /source/lib/registry/reg_backend_rpc.c
parentd4ed2f2a2590872f2a88c2ab697ecea554d3b315 (diff)
downloadsamba-56e0f15cbd56a3cbb0505fbeadfcb9620ff0fc3d.tar.gz
samba-56e0f15cbd56a3cbb0505fbeadfcb9620ff0fc3d.tar.xz
samba-56e0f15cbd56a3cbb0505fbeadfcb9620ff0fc3d.zip
r12510: Change the DCE/RPC interfaces to take a pointer to a
dcerpc_interface_table struct rather then a tuple of interface name, UUID and version. This removes the requirement for having a global list of DCE/RPC interfaces, except for these parts of the code that use that list explicitly (ndrdump and the scanner torture test). This should also allow us to remove the hack that put the authservice parameter in the dcerpc_binding struct as it can now be read directly from dcerpc_interface_table. I will now modify some of these functions to take a dcerpc_syntax_id structure rather then a full dcerpc_interface_table.
Diffstat (limited to 'source/lib/registry/reg_backend_rpc.c')
-rw-r--r--source/lib/registry/reg_backend_rpc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/lib/registry/reg_backend_rpc.c b/source/lib/registry/reg_backend_rpc.c
index 81f002daa22..e799b3a8e4a 100644
--- a/source/lib/registry/reg_backend_rpc.c
+++ b/source/lib/registry/reg_backend_rpc.c
@@ -371,8 +371,7 @@ WERROR reg_open_remote(struct registry_context **ctx, struct cli_credentials *cr
status = dcerpc_pipe_connect(*ctx /* TALLOC_CTX */,
&p, location,
- DCERPC_WINREG_UUID,
- DCERPC_WINREG_VERSION,
+ &dcerpc_table_winreg,
credentials, ev);
(*ctx)->backend_data = p;