From 230b880d142eea46d4131f2b44774465c9c214bc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 18 May 2010 18:26:16 +0200 Subject: s3-rpc_client: move protos to cli_lsarpc.h Guenther --- source3/rpc_client/cli_lsarpc.h | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 source3/rpc_client/cli_lsarpc.h (limited to 'source3/rpc_client/cli_lsarpc.h') diff --git a/source3/rpc_client/cli_lsarpc.h b/source3/rpc_client/cli_lsarpc.h new file mode 100644 index 0000000000..188e5063d3 --- /dev/null +++ b/source3/rpc_client/cli_lsarpc.h @@ -0,0 +1,44 @@ +/* The following definitions come from rpc_client/cli_lsarpc.c */ + +NTSTATUS rpccli_lsa_open_policy(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + bool sec_qos, uint32 des_access, + struct policy_handle *pol); +NTSTATUS rpccli_lsa_open_policy2(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, bool sec_qos, + uint32 des_access, struct policy_handle *pol); +NTSTATUS rpccli_lsa_lookup_sids(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + struct policy_handle *pol, + int num_sids, + const DOM_SID *sids, + char ***pdomains, + char ***pnames, + enum lsa_SidType **ptypes); +NTSTATUS rpccli_lsa_lookup_sids3(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + struct policy_handle *pol, + int num_sids, + const DOM_SID *sids, + char ***pdomains, + char ***pnames, + enum lsa_SidType **ptypes); +NTSTATUS rpccli_lsa_lookup_names(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + struct policy_handle *pol, int num_names, + const char **names, + const char ***dom_names, + int level, + DOM_SID **sids, + enum lsa_SidType **types); +NTSTATUS rpccli_lsa_lookup_names4(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + struct policy_handle *pol, int num_names, + const char **names, + const char ***dom_names, + int level, + DOM_SID **sids, + enum lsa_SidType **types); + +bool fetch_domain_sid( char *domain, char *remote_machine, DOM_SID *psid); + -- cgit