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)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 10 Dec 2013 22:29:11 +0000 (11:29 +1300)
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 a46f77974b0870fddec26b21f0e8f7db7c169cc3..750efa5636e9e3f999469f9c089a681087b0bec4 100644 (file)
@@ -2883,15 +2883,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 a2c1740c3e52978a26e5dd81fb6c3d048e225833..4b4aa20db8d035092aa08bb87fa0f5a2d261cf33 100644 (file)
@@ -47,9 +47,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 */