HACK: s3:rpc_client: pass object...
authorStefan Metzmacher <metze@samba.org>
Sat, 11 Jan 2014 08:53:34 +0000 (09:53 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 10:45:39 +0000 (12:45 +0200)
was 9bb2b731cf62eaeee2dcb98eac3651806c50eb04

source3/rpc_client/cli_pipe.c

index 37f72fbcf7092e1d8c900fdab405a39d0ff4033c..5ad2ce398e1e29a469d09c9963dce021023ca6cd 100644 (file)
@@ -3119,7 +3119,7 @@ static NTSTATUS rpc_pipe_open_np(struct cli_state *cli,
        DLIST_ADD(np_ref->cli->pipe_list, np_ref->pipe);
        talloc_set_destructor(np_ref, rpc_pipe_client_np_ref_destructor);
 
-       result->binding_handle = rpccli_bh_create(result, NULL, table);
+       result->binding_handle = rpccli_bh_create(result, &table->syntax_id.uuid, table);
        if (result->binding_handle == NULL) {
                TALLOC_FREE(result);
                return NT_STATUS_NO_MEMORY;