diff options
author | Volker Lendecke <vl@samba.org> | 2021-01-26 16:22:35 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2021-03-19 07:09:37 +0000 |
commit | 87137e340cc8c9999fc5ff55f405a825a59dc4b9 (patch) | |
tree | 76ee0b137e6838575c73fd92fddefa5e3a053dfb /source3 | |
parent | e5942a715ec0f4469512eb3bba972f898ae09830 (diff) | |
download | samba-87137e340cc8c9999fc5ff55f405a825a59dc4b9.tar.gz |
rpcclient: Don't put a port into the epm_map request
That's what the server is supposed to fill in for us
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 4a0e7693fda..d1fbcc7ca4f 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -2795,7 +2795,7 @@ static NTSTATUS rpc_pipe_get_tcp_port(const char *host, /* create tower for asking the epmapper */ - status = dcerpc_parse_binding(tmp_ctx, "ncacn_ip_tcp:[135]", + status = dcerpc_parse_binding(tmp_ctx, "ncacn_ip_tcp:", &map_binding); if (!NT_STATUS_IS_OK(status)) { goto done; |