summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-09-16 19:25:27 +0200
committerStefan Metzmacher <metze@samba.org>2014-01-07 12:47:16 +0100
commitc0761c3eae34175d772476006caf5caad68bd8c6 (patch)
treea684bd4798d794626d74a549089cf7423fcd994c
parent3f41b583840ffa2220f61eea61833bf3c6bd33db (diff)
downloadsamba-c0761c3eae34175d772476006caf5caad68bd8c6.tar.gz
samba-c0761c3eae34175d772476006caf5caad68bd8c6.tar.xz
samba-c0761c3eae34175d772476006caf5caad68bd8c6.zip
s3:rpc_client: finally remove unused rpc_pipe_client->netlogon_creds
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source3/rpc_client/cli_pipe.c9
-rw-r--r--source3/rpc_client/rpc_client.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index b9473bbb834..1b049de4c00 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -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 "
diff --git a/source3/rpc_client/rpc_client.h b/source3/rpc_client/rpc_client.h
index 7c4cceb863d..7c5ff0e8181 100644
--- a/source3/rpc_client/rpc_client.h
+++ b/source3/rpc_client/rpc_client.h
@@ -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 */