From: Volker Lendecke Date: Tue, 26 Jan 2021 15:23:10 +0000 (+0100) Subject: rpcclient: No need to use an object id in epm_map X-Git-Tag: tevent-0.11.0~1449 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ee8960a1ec69fe5ff5226b1d13e8b8bb9493939;p=thirdparty%2Fsamba.git rpcclient: No need to use an object id in epm_map The interface id we're looking for is listed as floor 0 in the map_tower argument. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index d1fbcc7ca4f..e37884979b2 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -2838,8 +2838,7 @@ static NTSTATUS rpc_pipe_get_tcp_port(const char *host, status = dcerpc_epm_Map(epm_handle, tmp_ctx, - discard_const_p(struct GUID, - &(table->syntax_id.uuid)), + NULL, map_tower, entry_handle, max_towers,