From 8e73826b3c2323c6e81a285f49c6b9d606cb7a53 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 17 Sep 2010 13:15:35 +0200 Subject: s3-libnetapi: support NETLOGON_CONTROL_FORCE_DNS_REG in I_NetLogonControl(). Guenther --- source3/lib/netapi/netlogon.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/lib') diff --git a/source3/lib/netapi/netlogon.c b/source3/lib/netapi/netlogon.c index d58b7ccf67..932ab8bb1d 100644 --- a/source3/lib/netapi/netlogon.c +++ b/source3/lib/netapi/netlogon.c @@ -43,6 +43,9 @@ static WERROR construct_data(enum netr_LogonControlCode function_code, case NETLOGON_CONTROL_SET_DBFLAG: data_out->debug_level = atoi((const char *)data_in); break; + case NETLOGON_CONTROL_FORCE_DNS_REG: + ZERO_STRUCTP(data_out); + break; default: return WERR_INVALID_PARAM; } @@ -193,6 +196,7 @@ WERROR I_NetLogonControl2_r(struct libnetapi_ctx *ctx, switch (r->in.function_code) { case NETLOGON_CONTROL_TC_VERIFY: case NETLOGON_CONTROL_SET_DBFLAG: + case NETLOGON_CONTROL_FORCE_DNS_REG: status = rpccli_netr_LogonControl2Ex(pipe_cli, ctx, r->in.server_name, r->in.function_code, -- cgit