summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2021-01-26 16:22:35 +0100
committerVolker Lendecke <vl@samba.org>2021-03-19 07:09:37 +0000
commit87137e340cc8c9999fc5ff55f405a825a59dc4b9 (patch)
tree76ee0b137e6838575c73fd92fddefa5e3a053dfb /source3
parente5942a715ec0f4469512eb3bba972f898ae09830 (diff)
downloadsamba-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.c2
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;