cli_netlogon: Remove a fallback for authoritative=NULL
authorVolker Lendecke <vl@samba.org>
Sat, 28 Jan 2017 11:27:21 +0000 (11:27 +0000)
committerVolker Lendecke <vl@samba.org>
Tue, 7 Mar 2017 08:15:17 +0000 (09:15 +0100)
The two callers of rpccli_netlogon_network_logon have authoritative
set !=NULL

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/rpc_client/cli_netlogon.c

index 166f31803a6382859943dcc27ed6a8734482c414..0dab9f70f35b60c40dfaf4423559633219942f22 100644 (file)
@@ -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;
        }