Revert "HACK: s3:rpc_client: pass object..."
authorStefan Metzmacher <metze@samba.org>
Tue, 31 Jan 2017 05:42:51 +0000 (06:42 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 10:45:39 +0000 (12:45 +0200)
This reverts commit 31f350b7788557a516414702028a98587db1dccb.

source3/rpc_client/cli_pipe.c

index 5ad2ce398e1e29a469d09c9963dce021023ca6cd..37f72fbcf7092e1d8c900fdab405a39d0ff4033c 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, &table->syntax_id.uuid, table);
+       result->binding_handle = rpccli_bh_create(result, NULL, table);
        if (result->binding_handle == NULL) {
                TALLOC_FREE(result);
                return NT_STATUS_NO_MEMORY;