mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s3-libnetapi: support NETLOGON_CONTROL_FORCE_DNS_REG in I_NetLogonControl().
Guenther
This commit is contained in:
parent
47a7a5830c
commit
8e73826b3c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user