summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/netapi/file.c')
-rw-r--r--source3/lib/netapi/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/file.c b/source3/lib/netapi/file.c
index 0d1bc08ad3..7ec9f7939d 100644
--- a/source3/lib/netapi/file.c
+++ b/source3/lib/netapi/file.c
@@ -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_table_srvsvc.syntax_id,
+ NDR_SRVSVC_UUID, NDR_SRVSVC_VERSION,
&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_table_srvsvc.syntax_id,
+ NDR_SRVSVC_UUID, NDR_SRVSVC_VERSION,
&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_table_srvsvc.syntax_id,
+ NDR_SRVSVC_UUID, NDR_SRVSVC_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;