cli_netlogon: Eliminate rpccli_setup_netlogon_creds_with_creds
[samba.git] / source3 / rpcclient / rpcclient.c
index 05bbb0b478bae4f3d08966e43f72794febf56b8a..c1039ed84c57a98e403ed4c2be6c8996167f3e54 100644 (file)
@@ -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",