From 5fc9d93408effe75abcd231c45cbc14656692ebe Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Nov 2009 12:31:38 +0100 Subject: s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table --- source3/lib/netapi/getdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/lib/netapi/getdc.c') diff --git a/source3/lib/netapi/getdc.c b/source3/lib/netapi/getdc.c index d3f58f6684..848ccb8b62 100644 --- a/source3/lib/netapi/getdc.c +++ b/source3/lib/netapi/getdc.c @@ -45,7 +45,7 @@ WERROR NetGetDCName_r(struct libnetapi_ctx *ctx, WERROR werr; werr = libnetapi_open_pipe(ctx, r->in.server_name, - &ndr_table_netlogon.syntax_id, + NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -85,7 +85,7 @@ WERROR NetGetAnyDCName_r(struct libnetapi_ctx *ctx, WERROR werr; werr = libnetapi_open_pipe(ctx, r->in.server_name, - &ndr_table_netlogon.syntax_id, + NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -140,7 +140,7 @@ WERROR DsGetDcName_r(struct libnetapi_ctx *ctx, struct rpc_pipe_client *pipe_cli = NULL; werr = libnetapi_open_pipe(ctx, r->in.server_name, - &ndr_table_netlogon.syntax_id, + NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; -- cgit