r4587: fixed dcerpc_secondary_connection() for ncacn_ip_tcp
authorAndrew Tridgell <tridge@samba.org>
Fri, 7 Jan 2005 03:33:39 +0000 (03:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:08:29 +0000 (13:08 -0500)
this fixes RPC-SAMLOGON and some other tests on ncacn_ip_tcp
(This used to be commit 244370d62424ab3c0f9d6689b0e674d057b3fc09)

source4/librpc/rpc/dcerpc_util.c

index 4219b7539238e69d0140d541703f2a1e55d1b73c..6eac4b26b29f910ec021ad50962e536e45da7310 100644 (file)
@@ -1141,9 +1141,7 @@ NTSTATUS dcerpc_secondary_connection(struct dcerpc_pipe *p, struct dcerpc_pipe *
                        return status;
                }
                b.flags &= ~DCERPC_AUTH_OPTIONS;
                        return status;
                }
                b.flags &= ~DCERPC_AUTH_OPTIONS;
-               status = dcerpc_pipe_connect_ncacn_ip_tcp(p2, &b, pipe_uuid,
-                                                         pipe_version, NULL, 
-                                                         NULL, NULL);
+               status = dcerpc_pipe_open_tcp(p2, b.host, atoi(b.endpoint));
                break;
 
        case NCALRPC:
                break;
 
        case NCALRPC: