summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-07 03:33:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:29 -0500
commit57842ede9e76a299420b93e3cea474c21af7ffc3 (patch)
tree9c43c38e5f13e681819dd26bf3b6625141432699 /source4
parentb3d59e578d2f7e5afb288de2559e7d2018100e78 (diff)
downloadsamba-57842ede9e76a299420b93e3cea474c21af7ffc3.tar.gz
samba-57842ede9e76a299420b93e3cea474c21af7ffc3.tar.bz2
samba-57842ede9e76a299420b93e3cea474c21af7ffc3.zip
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)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc_util.c4
1 files changed, 1 insertions, 3 deletions
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: