diff options
author | Volker Lendecke <vl@samba.org> | 2017-09-07 12:43:00 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2017-09-25 09:43:12 +0200 |
commit | 4b97de8adb2977aaec21940241dbc4d615307f4f (patch) | |
tree | 813222c0fbd924b74fc7675f6fde1ef03bb33560 /libcli | |
parent | 6f879b780a5ff37e80d1bf7c06e377909bcfc950 (diff) | |
download | samba-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 'libcli')
-rw-r--r-- | libcli/auth/netlogon_creds_cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcli/auth/netlogon_creds_cli.c b/libcli/auth/netlogon_creds_cli.c index 25f14316dc2..3209f6cf871 100644 --- a/libcli/auth/netlogon_creds_cli.c +++ b/libcli/auth/netlogon_creds_cli.c @@ -474,6 +474,7 @@ NTSTATUS netlogon_creds_bind_cli_credentials( TALLOC_FREE(cli_creds); return status; } + cli_credentials_set_netlogon_creds(cli_creds, ncreds); *pcli_creds = cli_creds; return NT_STATUS_OK; |