From 4b5e252354660501576c8452f48514852f40270e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 16 Aug 2010 11:01:26 +0200 Subject: s3: Add "client_id" to pipes_struct --- source3/include/ntdomain.h | 2 +- source3/include/proto.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 071e915561..073efe54b9 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -131,7 +131,7 @@ struct pipe_auth_data { struct pipes_struct { struct pipes_struct *next, *prev; - char client_address[INET6_ADDRSTRLEN]; + struct client_address *client_id; struct auth_serversupplied_info *server_info; struct messaging_context *msg_ctx; diff --git a/source3/include/proto.h b/source3/include/proto.h index 9d4b82b063..5c664ebe54 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4535,12 +4535,13 @@ NTSTATUS rpc_pipe_open_ncalrpc(TALLOC_CTX *mem_ctx, const char *socket_path, struct rpc_pipe_client **presult); struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx, const struct ndr_syntax_id *syntax, - const char *client_address, + struct client_address *client_id, struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx); NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx, const struct ndr_syntax_id *abstract_syntax, struct auth_serversupplied_info *serversupplied_info, + struct client_address *client_id, struct messaging_context *msg_ctx, struct rpc_pipe_client **presult); NTSTATUS rpc_connect_spoolss_pipe(connection_struct *conn, @@ -4752,6 +4753,7 @@ struct tsocket_address; NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name, const struct tsocket_address *local_address, const struct tsocket_address *remote_address, + struct client_address *client_id, struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, struct fake_file_handle **phandle); -- cgit