summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/cm.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-05-17 16:08:16 +0200
committerAndreas Schneider <asn@samba.org>2013-08-05 10:29:59 +0200
commitfa37bbd9d06865d265bf554a3c49920f956f2185 (patch)
treebc3f7d4e24b43162bcf833ef6148ba7dff4e2b68 /source3/lib/netapi/cm.c
parenta1368ca6ef8ab4f158c8b303ad058835f1bbf441 (diff)
downloadsamba-fa37bbd9d06865d265bf554a3c49920f956f2185.tar.gz
samba-fa37bbd9d06865d265bf554a3c49920f956f2185.tar.bz2
samba-fa37bbd9d06865d265bf554a3c49920f956f2185.zip
s3-libnetapi: pass down ndr_interface_table to libnetapi_get_binding_handle().
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/lib/netapi/cm.c')
-rw-r--r--source3/lib/netapi/cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index 36e8731fa9..786fd94957 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -269,7 +269,7 @@ WERROR libnetapi_open_pipe(struct libnetapi_ctx *ctx,
WERROR libnetapi_get_binding_handle(struct libnetapi_ctx *ctx,
const char *server_name,
- const struct ndr_syntax_id *interface,
+ const struct ndr_interface_table *table,
struct dcerpc_binding_handle **binding_handle)
{
struct rpc_pipe_client *pipe_cli;
@@ -277,7 +277,7 @@ WERROR libnetapi_get_binding_handle(struct libnetapi_ctx *ctx,
*binding_handle = NULL;
- result = libnetapi_open_pipe(ctx, server_name, interface, &pipe_cli);
+ result = libnetapi_open_pipe(ctx, server_name, &table->syntax_id, &pipe_cli);
if (!W_ERROR_IS_OK(result)) {
return result;
}