From b398a96b09af5268e71bd3108f6c1e97568736f8 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 20 May 2008 18:08:41 +0200 Subject: rpc_client: use endpoint mapper to get the port for rpc_pipe_open_tcp(). Michael (This used to be commit f7db445c828c0eef2c08b538bd07d485dc248689) --- source3/include/proto.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index f76e43ac64..03a7f918c0 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -7061,8 +7061,14 @@ NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx, const char *username, const char *password, struct cli_pipe_auth_data **presult); +NTSTATUS rpc_pipe_open_tcp_port(TALLOC_CTX *mem_ctx, const char *host, + uint16_t port, + const struct ndr_syntax_id *abstract_syntax, + struct rpc_pipe_client **presult); +NTSTATUS rpc_pipe_get_tcp_port(const char *host, + const struct ndr_syntax_id *abstract_syntax, + uint16_t *pport); NTSTATUS rpc_pipe_open_tcp(TALLOC_CTX *mem_ctx, const char *host, - uint16_t port, const struct ndr_syntax_id *abstract_syntax, struct rpc_pipe_client **presult); NTSTATUS rpc_pipe_open_ncalrpc(TALLOC_CTX *mem_ctx, const char *socket_path, -- cgit