From: Volker Lendecke Date: Sat, 28 Jan 2017 11:27:21 +0000 (+0000) Subject: cli_netlogon: Remove a fallback for authoritative=NULL X-Git-Tag: tdb-1.3.13~641 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=72b9b629565ae7a39d3a4315b32ee9210be0e69d;p=thirdparty%2Fsamba.git cli_netlogon: Remove a fallback for authoritative=NULL The two callers of rpccli_netlogon_network_logon have authoritative set !=NULL Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c index 166f31803a6..0dab9f70f35 100644 --- a/source3/rpc_client/cli_netlogon.c +++ b/source3/rpc_client/cli_netlogon.c @@ -472,16 +472,12 @@ NTSTATUS rpccli_netlogon_network_logon(struct netlogon_creds_cli_context *creds, struct netr_NetworkInfo *network_info; uint16_t validation_level = 0; union netr_Validation *validation = NULL; - uint8_t _authoritative = 0; uint32_t _flags = 0; struct netr_ChallengeResponse lm; struct netr_ChallengeResponse nt; *info3 = NULL; - if (authoritative == NULL) { - authoritative = &_authoritative; - } if (flags == NULL) { flags = &_flags; }