From fa37bbd9d06865d265bf554a3c49920f956f2185 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 17 May 2013 16:08:16 +0200 Subject: s3-libnetapi: pass down ndr_interface_table to libnetapi_get_binding_handle(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Signed-off-by: Günther Deschner Reviewed-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- source3/lib/netapi/cm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib/netapi/cm.c') 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; } -- cgit