summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-09-06 17:31:38 +0200
committerAndrew Bartlett <abartlet@samba.org>2017-09-16 08:36:17 +0200
commitb62bba83ba8544adfc3700e927247ec942735538 (patch)
tree3d47c35b050af143070f527dac09b3cd2ba6c2e7 /source3/rpcclient
parent7a3d1b5a6fcbbd6d12cb3568a7ac62e50c056a5b (diff)
downloadsamba-b62bba83ba8544adfc3700e927247ec942735538.tar.gz
cli_netlogon: Eliminate rpccli_setup_netlogon_creds_with_creds
Inlining the code from rpccli_setup_netlogon_creds Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 05bbb0b478b..c1039ed84c5 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -816,11 +816,12 @@ static NTSTATUS do_cmd(struct cli_state *cli,
return ntresult;
}
- ntresult = rpccli_setup_netlogon_creds_with_creds(cli,
- NCACN_NP,
- rpcclient_netlogon_creds,
- false, /* force_reauth */
- creds);
+ ntresult = rpccli_setup_netlogon_creds(
+ cli,
+ NCACN_NP,
+ rpcclient_netlogon_creds,
+ false, /* force_reauth */
+ creds);
TALLOC_FREE(creds);
if (!NT_STATUS_IS_OK(ntresult)) {
DEBUG(0, ("Could not initialise credentials for %s.\n",