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:
@ -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;
|
||||
|
Reference in New Issue
Block a user