s3-winbindd: Attempt to connect to NETLOGON over NCACN_IP_TCP if we can
[gd/samba-autobuild/.git] / source3 / rpcclient / rpcclient.c
index 7b190c15e1db389889c809668f7bff241bec11be..a573106d6e1493468179a3a02532cabd34656568 100644 (file)
@@ -805,7 +805,7 @@ static NTSTATUS do_cmd(struct cli_state *cli,
                                return ntresult;
                        }
 
-                       ntresult = rpccli_setup_netlogon_creds(cli,
+                       ntresult = rpccli_setup_netlogon_creds(cli, NCACN_NP,
                                                        rpcclient_netlogon_creds,
                                                        false, /* force_reauth */
                                                        current_nt_hash,