summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/getdc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/netapi/getdc.c')
-rw-r--r--source3/lib/netapi/getdc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/getdc.c b/source3/lib/netapi/getdc.c
index 3b26d46db4..ae976f1f02 100644
--- a/source3/lib/netapi/getdc.c
+++ b/source3/lib/netapi/getdc.c
@@ -47,7 +47,7 @@ WERROR NetGetDCName_r(struct libnetapi_ctx *ctx,
void *buffer;
werr = libnetapi_get_binding_handle(ctx, r->in.server_name,
- &ndr_table_netlogon.syntax_id,
+ &ndr_table_netlogon,
&b);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -101,7 +101,7 @@ WERROR NetGetAnyDCName_r(struct libnetapi_ctx *ctx,
void *buffer;
werr = libnetapi_get_binding_handle(ctx, r->in.server_name,
- &ndr_table_netlogon.syntax_id,
+ &ndr_table_netlogon,
&b);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -173,7 +173,7 @@ WERROR DsGetDcName_r(struct libnetapi_ctx *ctx,
struct dcerpc_binding_handle *b;
werr = libnetapi_get_binding_handle(ctx, r->in.server_name,
- &ndr_table_netlogon.syntax_id,
+ &ndr_table_netlogon,
&b);
if (!W_ERROR_IS_OK(werr)) {
goto done;