git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5942a7
)
rpcclient: Don't put a port into the epm_map request
author
Volker Lendecke
<vl@samba.org>
Tue, 26 Jan 2021 15:22:35 +0000
(16:22 +0100)
committer
Volker Lendecke
<vl@samba.org>
Fri, 19 Mar 2021 07:09:37 +0000
(07:09 +0000)
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>
source3/rpc_client/cli_pipe.c
patch
|
blob
|
history
diff --git
a/source3/rpc_client/cli_pipe.c
b/source3/rpc_client/cli_pipe.c
index 4a0e7693fdac0584f9efabd9a819e70b1484e54c..d1fbcc7ca4f035d94845baeb5963cf30bdad95ea 100644
(file)
--- 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;