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/joindomain.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/lib/netapi/joindomain.c') diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c index c31b15d7fc..9970a0655a 100644 --- a/source3/lib/netapi/joindomain.c +++ b/source3/lib/netapi/joindomain.c @@ -106,7 +106,7 @@ WERROR NetJoinDomain_r(struct libnetapi_ctx *ctx, unsigned int old_timeout = 0; werr = libnetapi_open_pipe(ctx, r->in.server, - NDR_WKSSVC_UUID, NDR_WKSSVC_VERSION, + &ndr_table_wkssvc.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -232,7 +232,7 @@ WERROR NetUnjoinDomain_r(struct libnetapi_ctx *ctx, unsigned int old_timeout = 0; werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_WKSSVC_UUID, NDR_WKSSVC_VERSION, + &ndr_table_wkssvc.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -278,7 +278,7 @@ WERROR NetGetJoinInformation_r(struct libnetapi_ctx *ctx, const char *buffer = NULL; werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_WKSSVC_UUID, NDR_WKSSVC_VERSION, + &ndr_table_wkssvc.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -408,7 +408,7 @@ WERROR NetGetJoinableOUs_r(struct libnetapi_ctx *ctx, WERROR werr; werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_WKSSVC_UUID, NDR_WKSSVC_VERSION, + &ndr_table_wkssvc.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -450,7 +450,7 @@ WERROR NetRenameMachineInDomain_r(struct libnetapi_ctx *ctx, WERROR werr; werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_WKSSVC_UUID, NDR_WKSSVC_VERSION, + &ndr_table_wkssvc.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; -- cgit