From: Andrew Tridgell Date: Fri, 7 Jan 2005 03:38:36 +0000 (+0000) Subject: r4588: fixed the double bind in ncalrpc with dcerpc_secondary_connection() X-Git-Tag: samba-4.0.0alpha6~801^3~12030 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=e3450b0ade6b8153a9346326afb24bc3594a1009 r4588: fixed the double bind in ncalrpc with dcerpc_secondary_connection() (This used to be commit b65a95c11778fd778ad3c013664aea7d038e16ae) --- diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 6eac4b26b29..4adeee7a374 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -1150,7 +1150,7 @@ NTSTATUS dcerpc_secondary_connection(struct dcerpc_pipe *p, struct dcerpc_pipe * return status; } b.flags &= ~DCERPC_AUTH_OPTIONS; - status = dcerpc_pipe_connect_ncalrpc(p2, &b, pipe_uuid, pipe_version, NULL, NULL, NULL); + status = dcerpc_pipe_open_pipe(p2, b.endpoint); break; default: