s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_schannel().
[samba.git] / source3 / auth / auth_domain.c
index f11dbe60ee13a41493c8f12f1599ea5163a6ecee..45150ab1425474caf16938b5338616bb83dd90aa 100644 (file)
@@ -175,7 +175,7 @@ static NTSTATUS connect_to_domain_password_server(struct cli_state **cli,
        if (lp_client_schannel()) {
                /* We also setup the creds chain in the open_schannel call. */
                result = cli_rpc_pipe_open_schannel(
-                       *cli, &ndr_table_netlogon.syntax_id,
+                       *cli, &ndr_table_netlogon.syntax_id, NCACN_NP,
                        PIPE_AUTH_LEVEL_PRIVACY, domain, &netlogon_pipe);
        } else {
                result = cli_rpc_pipe_open_noauth(