From 6a650d7d161e4c4a7bd61bb374f473ba16fbba95 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Nov 2009 19:37:13 +0100 Subject: Revert "s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe. --- source3/lib/netapi/shutdown.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source3/lib/netapi/shutdown.c') diff --git a/source3/lib/netapi/shutdown.c b/source3/lib/netapi/shutdown.c index aee253a3a4..f9eb93b125 100644 --- a/source3/lib/netapi/shutdown.c +++ b/source3/lib/netapi/shutdown.c @@ -36,8 +36,7 @@ WERROR NetShutdownInit_r(struct libnetapi_ctx *ctx, struct lsa_StringLarge message; werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_INITSHUTDOWN_UUID, - NDR_INITSHUTDOWN_VERSION, + &ndr_table_initshutdown.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -81,8 +80,7 @@ WERROR NetShutdownAbort_r(struct libnetapi_ctx *ctx, struct rpc_pipe_client *pipe_cli = NULL; werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_INITSHUTDOWN_UUID, - NDR_INITSHUTDOWN_VERSION, + &ndr_table_initshutdown.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; -- cgit