summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_pipe_schannel.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-09-07 12:43:00 +0200
committerVolker Lendecke <vl@samba.org>2017-09-25 09:43:12 +0200
commit4b97de8adb2977aaec21940241dbc4d615307f4f (patch)
tree813222c0fbd924b74fc7675f6fde1ef03bb33560 /source3/rpc_client/cli_pipe_schannel.c
parent6f879b780a5ff37e80d1bf7c06e377909bcfc950 (diff)
downloadsamba-4b97de8adb2977aaec21940241dbc4d615307f4f.tar.gz
rpc_client3: Avoid "cli_credentials" in cli_rpc_pipe_open_schannel_with_creds
This provides cleaner data dependencies. A netlogon_creds_ctx contains everything required to open an schannel, there is no good reason to require cli_credentials here. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/rpc_client/cli_pipe_schannel.c')
-rw-r--r--source3/rpc_client/cli_pipe_schannel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe_schannel.c b/source3/rpc_client/cli_pipe_schannel.c
index a94429538c7..8a8177be2e5 100644
--- a/source3/rpc_client/cli_pipe_schannel.c
+++ b/source3/rpc_client/cli_pipe_schannel.c
@@ -93,7 +93,6 @@ NTSTATUS cli_rpc_pipe_open_schannel(struct cli_state *cli,
if (netlogon_flags & NETLOGON_NEG_AUTHENTICATED_RPC) {
status = cli_rpc_pipe_open_schannel_with_creds(cli, table,
transport,
- cli_creds,
netlogon_creds,
&result);
if (!NT_STATUS_IS_OK(status)) {