s3:rpc_client: finally remove unused rpc_pipe_client->netlogon_creds
authorStefan Metzmacher <metze@samba.org>
Mon, 16 Sep 2013 17:25:27 +0000 (19:25 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 7 Jan 2014 11:47:16 +0000 (12:47 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_client/cli_pipe.c
source3/rpc_client/rpc_client.h

index b9473bbb83458ccdb9985aaf57d5ab295028dcb7..1b049de4c00dddcd40bd6ed8f3a1167ab7b035d0 100644 (file)
@@ -3097,15 +3097,6 @@ NTSTATUS cli_rpc_pipe_open_schannel_with_key(struct cli_state *cli,
                return status;
        }
 
-       status = netlogon_creds_cli_context_copy(netlogon_creds,
-                                                rpccli,
-                                                &rpccli->netlogon_creds);
-       if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(0, ("netlogon_creds_cli_context_copy failed with %s\n",
-                         nt_errstr(status)));
-               TALLOC_FREE(rpccli);
-               return status;
-       }
 
 done:
        DEBUG(10,("cli_rpc_pipe_open_schannel_with_key: opened pipe %s to machine %s "
index 7c4cceb863dcfef1f8ccd8f3cca41b25af96fa8a..7c5ff0e818189f3e082f700fbafbd284a5627119 100644 (file)
@@ -48,9 +48,6 @@ struct rpc_pipe_client {
        uint16 max_recv_frag;
 
        struct pipe_auth_data *auth;
-
-       /* The following is only non-null on a netlogon client pipe. */
-       struct netlogon_creds_cli_context *netlogon_creds;
 };
 
 #endif /* _RPC_CLIENT_H */