]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
rpcclient: No need to use an object id in epm_map
authorVolker Lendecke <vl@samba.org>
Tue, 26 Jan 2021 15:23:10 +0000 (16:23 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 19 Mar 2021 07:09:37 +0000 (07:09 +0000)
The interface id we're looking for is listed as floor 0 in the
map_tower argument.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_client/cli_pipe.c

index d1fbcc7ca4f035d94845baeb5963cf30bdad95ea..e37884979b2379670ac5c90f4c1c827b5dfb5883 100644 (file)
@@ -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,