1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Revert "s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table"

This reverts commit 5fc9d93408.
This commit is contained in:
Volker Lendecke
2009-11-08 19:37:13 +01:00
parent 5fc9d93408
commit 6a650d7d16
12 changed files with 54 additions and 61 deletions

View File

@ -35,7 +35,7 @@ WERROR NetFileClose_r(struct libnetapi_ctx *ctx,
struct rpc_pipe_client *pipe_cli = NULL;
werr = libnetapi_open_pipe(ctx, r->in.server_name,
NDR_SRVSVC_UUID, NDR_SRVSVC_VERSION,
&ndr_table_srvsvc.syntax_id,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@ -129,7 +129,7 @@ WERROR NetFileGetInfo_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_open_pipe(ctx, r->in.server_name,
NDR_SRVSVC_UUID, NDR_SRVSVC_VERSION,
&ndr_table_srvsvc.syntax_id,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@ -195,7 +195,7 @@ WERROR NetFileEnum_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_open_pipe(ctx, r->in.server_name,
NDR_SRVSVC_UUID, NDR_SRVSVC_VERSION,
&ndr_table_srvsvc.syntax_id,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;