From 57842ede9e76a299420b93e3cea474c21af7ffc3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 7 Jan 2005 03:33:39 +0000 Subject: r4587: fixed dcerpc_secondary_connection() for ncacn_ip_tcp this fixes RPC-SAMLOGON and some other tests on ncacn_ip_tcp (This used to be commit 244370d62424ab3c0f9d6689b0e674d057b3fc09) --- source4/librpc/rpc/dcerpc_util.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4/librpc/rpc') diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 4219b75392..6eac4b26b2 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -1141,9 +1141,7 @@ NTSTATUS dcerpc_secondary_connection(struct dcerpc_pipe *p, struct dcerpc_pipe * 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: -- cgit