r4588: fixed the double bind in ncalrpc with dcerpc_secondary_connection()
authorAndrew Tridgell <tridge@samba.org>
Fri, 7 Jan 2005 03:38:36 +0000 (03:38 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:08:30 +0000 (13:08 -0500)
(This used to be commit b65a95c11778fd778ad3c013664aea7d038e16ae)

source4/librpc/rpc/dcerpc_util.c

index 6eac4b26b29f910ec021ad50962e536e45da7310..4adeee7a374b7bfe6317395309722a1b075899af 100644 (file)
@@ -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: