git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b181cd8
)
s3-rpc_client: Don't ask endpoint mapper for its own port.
author
Andreas Schneider
<asn@samba.org>
Tue, 8 Mar 2011 15:33:50 +0000
(16:33 +0100)
committer
Andreas Schneider
<asn@samba.org>
Wed, 9 Mar 2011 08:28:42 +0000
(09:28 +0100)
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 26a00547c3738665c23660536f9b63e10e914e25..ebbe849ac7bcf1414de602cbc6e3f2b4caa02f1a 100644
(file)
--- a/
source3/rpc_client/cli_pipe.c
+++ b/
source3/rpc_client/cli_pipe.c
@@
-2515,6
+2515,12
@@
static NTSTATUS rpc_pipe_get_tcp_port(const char *host,
goto done;
}
+ if (ndr_syntax_id_equal(abstract_syntax,
+ &ndr_table_epmapper.syntax_id)) {
+ *pport = 135;
+ return NT_STATUS_OK;
+ }
+
/* open the connection to the endpoint mapper */
status = rpc_pipe_open_tcp_port(tmp_ctx, host, 135,
&ndr_table_epmapper.syntax_id,