2008-12-16 16:32:18 +01:00
# include "../librpc/gen_ndr/ndr_lsa.h"
2006-09-08 14:28:06 +00:00
# ifndef __CLI_LSARPC__
# define __CLI_LSARPC__
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_Close ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in,out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_Delete ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_EnumPrivs ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint32_t * resume_handle /* [in,out] [ref] */ ,
struct lsa_PrivArray * privs /* [out] [ref] */ ,
uint32_t max_count /* [in] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_QuerySecurity ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint32_t sec_info /* [in] */ ,
struct sec_desc_buf * * sdbuf /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_SetSecObj ( struct rpc_pipe_client * cli ,
2008-02-04 22:04:36 +01:00
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint32_t sec_info /* [in] */ ,
struct sec_desc_buf * sdbuf /* [in] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_ChangePassword ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_OpenPolicy ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
uint16_t * system_name /* [in] [unique] */ ,
struct lsa_ObjectAttribute * attr /* [in] [ref] */ ,
uint32_t access_mask /* [in] */ ,
struct policy_handle * handle /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_QueryInfoPolicy ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
enum lsa_PolicyInfo level /* [in] */ ,
union lsa_PolicyInformation * * info /* [out] [ref,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_SetInfoPolicy ( struct rpc_pipe_client * cli ,
2008-01-14 17:16:31 +01:00
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
enum lsa_PolicyInfo level /* [in] */ ,
union lsa_PolicyInformation * info /* [in] [ref,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_ClearAuditLog ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_CreateAccount ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct dom_sid2 * sid /* [in] [ref] */ ,
uint32_t access_mask /* [in] */ ,
struct policy_handle * acct_handle /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_EnumAccounts ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint32_t * resume_handle /* [in,out] [ref] */ ,
struct lsa_SidArray * sids /* [out] [ref] */ ,
uint32_t num_entries /* [in] [range(0,8192)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_CreateTrustedDomain ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-10-20 22:06:44 +02:00
struct policy_handle * policy_handle /* [in] [ref] */ ,
2008-03-25 17:52:33 +01:00
struct lsa_DomainInfo * info /* [in] [ref] */ ,
uint32_t access_mask /* [in] */ ,
struct policy_handle * trustdom_handle /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_EnumTrustDom ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint32_t * resume_handle /* [in,out] [ref] */ ,
struct lsa_DomainList * domains /* [out] [ref] */ ,
uint32_t max_size /* [in] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_LookupNames ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint32_t num_names /* [in] [range(0,1000)] */ ,
struct lsa_String * names /* [in] [size_is(num_names)] */ ,
struct lsa_RefDomainList * * domains /* [out] [ref] */ ,
struct lsa_TransSidArray * sids /* [in,out] [ref] */ ,
enum lsa_LookupNamesLevel level /* [in] */ ,
uint32_t * count /* [in,out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_LookupSids ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_SidArray * sids /* [in] [ref] */ ,
struct lsa_RefDomainList * * domains /* [out] [ref] */ ,
struct lsa_TransNameArray * names /* [in,out] [ref] */ ,
uint16_t level /* [in] */ ,
uint32_t * count /* [in,out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_CreateSecret ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_String name /* [in] */ ,
uint32_t access_mask /* [in] */ ,
struct policy_handle * sec_handle /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_OpenAccount ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct dom_sid2 * sid /* [in] [ref] */ ,
uint32_t access_mask /* [in] */ ,
struct policy_handle * acct_handle /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_EnumPrivsAccount ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_PrivilegeSet * * privs /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_AddPrivilegesToAccount ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_PrivilegeSet * privs /* [in] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_RemovePrivilegesFromAccount ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint8_t remove_all /* [in] */ ,
struct lsa_PrivilegeSet * privs /* [in] [unique] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_GetQuotasForAccount ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_SetQuotasForAccount ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_GetSystemAccessAccount ( struct rpc_pipe_client * cli ,
2008-02-08 22:54:28 +01:00
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint32_t * access_mask /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_SetSystemAccessAccount ( struct rpc_pipe_client * cli ,
2008-02-08 22:51:34 +01:00
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint32_t access_mask /* [in] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_OpenTrustedDomain ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct dom_sid2 * sid /* [in] [ref] */ ,
uint32_t access_mask /* [in] */ ,
struct policy_handle * trustdom_handle /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_QueryTrustedDomainInfo ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * trustdom_handle /* [in] [ref] */ ,
enum lsa_TrustDomInfoEnum level /* [in] */ ,
2008-04-08 22:58:16 +02:00
union lsa_TrustedDomainInfo * * info /* [out] [ref,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_SetInformationTrustedDomain ( struct rpc_pipe_client * cli ,
2008-10-15 18:49:03 +02:00
TALLOC_CTX * mem_ctx ,
struct policy_handle * trustdom_handle /* [in] [ref] */ ,
enum lsa_TrustDomInfoEnum level /* [in] */ ,
union lsa_TrustedDomainInfo * info /* [in] [ref,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_OpenSecret ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_String name /* [in] */ ,
uint32_t access_mask /* [in] */ ,
struct policy_handle * sec_handle /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_SetSecret ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * sec_handle /* [in] [ref] */ ,
struct lsa_DATA_BUF * new_val /* [in] [unique] */ ,
struct lsa_DATA_BUF * old_val /* [in] [unique] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_QuerySecret ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * sec_handle /* [in] [ref] */ ,
struct lsa_DATA_BUF_PTR * new_val /* [in,out] [unique] */ ,
NTTIME * new_mtime /* [in,out] [unique] */ ,
struct lsa_DATA_BUF_PTR * old_val /* [in,out] [unique] */ ,
NTTIME * old_mtime /* [in,out] [unique] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_LookupPrivValue ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_String * name /* [in] [ref] */ ,
struct lsa_LUID * luid /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_LookupPrivName ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_LUID * luid /* [in] [ref] */ ,
2008-04-08 23:04:22 +02:00
struct lsa_StringLarge * * name /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_LookupPrivDisplayName ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_String * name /* [in] [ref] */ ,
uint16_t language_id /* [in] */ ,
uint16_t language_id_sys /* [in] */ ,
struct lsa_StringLarge * * disp_name /* [out] [ref] */ ,
uint16_t * returned_language_id /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_DeleteObject ( struct rpc_pipe_client * cli ,
2008-02-04 22:04:36 +01:00
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in,out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_EnumAccountsWithUserRight ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_String * name /* [in] [unique] */ ,
struct lsa_SidArray * sids /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_EnumAccountRights ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct dom_sid2 * sid /* [in] [ref] */ ,
struct lsa_RightSet * rights /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_AddAccountRights ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct dom_sid2 * sid /* [in] [ref] */ ,
struct lsa_RightSet * rights /* [in] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_RemoveAccountRights ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct dom_sid2 * sid /* [in] [ref] */ ,
uint8_t remove_all /* [in] */ ,
struct lsa_RightSet * rights /* [in] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct dom_sid2 * dom_sid /* [in] [ref] */ ,
enum lsa_TrustDomInfoEnum level /* [in] */ ,
2008-04-08 22:54:18 +02:00
union lsa_TrustedDomainInfo * * info /* [out] [ref,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_SetTrustedDomainInfo ( struct rpc_pipe_client * cli ,
2008-10-15 18:49:03 +02:00
TALLOC_CTX * mem_ctx ,
struct policy_handle * handle /* [in] [ref] */ ,
struct dom_sid2 * dom_sid /* [in] [ref] */ ,
enum lsa_TrustDomInfoEnum level /* [in] */ ,
union lsa_TrustedDomainInfo * info /* [in] [ref,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_DeleteTrustedDomain ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct dom_sid2 * dom_sid /* [in] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_StorePrivateData ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_RetrievePrivateData ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_OpenPolicy2 ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
const char * system_name /* [in] [unique,charset(UTF16)] */ ,
struct lsa_ObjectAttribute * attr /* [in] [ref] */ ,
uint32_t access_mask /* [in] */ ,
struct policy_handle * handle /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_GetUserName ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
const char * system_name /* [in] [unique,charset(UTF16)] */ ,
struct lsa_String * * account_name /* [in,out] [ref] */ ,
struct lsa_String * * authority_name /* [in,out] [unique] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_QueryInfoPolicy2 ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
enum lsa_PolicyInfo level /* [in] */ ,
union lsa_PolicyInformation * * info /* [out] [ref,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_SetInfoPolicy2 ( struct rpc_pipe_client * cli ,
2008-01-14 17:16:31 +01:00
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
enum lsa_PolicyInfo level /* [in] */ ,
union lsa_PolicyInformation * info /* [in] [ref,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_String * trusted_domain /* [in] [ref] */ ,
enum lsa_TrustDomInfoEnum level /* [in] */ ,
2008-04-08 22:54:18 +02:00
union lsa_TrustedDomainInfo * * info /* [out] [ref,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_SetTrustedDomainInfoByName ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_String trusted_domain /* [in] */ ,
enum lsa_TrustDomInfoEnum level /* [in] */ ,
union lsa_TrustedDomainInfo * info /* [in] [unique,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_EnumTrustedDomainsEx ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint32_t * resume_handle /* [in,out] [ref] */ ,
struct lsa_DomainListEx * domains /* [out] [ref] */ ,
uint32_t max_size /* [in] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_CreateTrustedDomainEx ( struct rpc_pipe_client * cli ,
2008-10-15 18:49:03 +02:00
TALLOC_CTX * mem_ctx ,
struct policy_handle * policy_handle /* [in] [ref] */ ,
struct lsa_TrustDomainInfoInfoEx * info /* [in] [ref] */ ,
struct lsa_TrustDomainInfoAuthInfoInternal * auth_info /* [in] [ref] */ ,
uint32_t access_mask /* [in] */ ,
struct policy_handle * trustdom_handle /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_CloseTrustedDomainEx ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in,out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_QueryDomainInformationPolicy ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint16_t level /* [in] */ ,
2008-04-08 22:54:18 +02:00
union lsa_DomainInformationPolicy * * info /* [out] [ref,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_SetDomainInformationPolicy ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint16_t level /* [in] */ ,
union lsa_DomainInformationPolicy * info /* [in] [unique,switch_is(level)] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_OpenTrustedDomainByName ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_String name /* [in] */ ,
uint32_t access_mask /* [in] */ ,
struct policy_handle * trustdom_handle /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_TestCall ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_LookupSids2 ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_SidArray * sids /* [in] [ref] */ ,
struct lsa_RefDomainList * * domains /* [out] [ref] */ ,
struct lsa_TransNameArray2 * names /* [in,out] [ref] */ ,
uint16_t level /* [in] */ ,
uint32_t * count /* [in,out] [ref] */ ,
uint32_t unknown1 /* [in] */ ,
uint32_t unknown2 /* [in] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_LookupNames2 ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint32_t num_names /* [in] [range(0,1000)] */ ,
struct lsa_String * names /* [in] [size_is(num_names)] */ ,
struct lsa_RefDomainList * * domains /* [out] [ref] */ ,
struct lsa_TransSidArray2 * sids /* [in,out] [ref] */ ,
enum lsa_LookupNamesLevel level /* [in] */ ,
uint32_t * count /* [in,out] [ref] */ ,
2008-10-15 18:49:03 +02:00
uint32_t lookup_options /* [in] */ ,
uint32_t client_revision /* [in] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_CreateTrustedDomainEx2 ( struct rpc_pipe_client * cli ,
2008-10-15 18:49:03 +02:00
TALLOC_CTX * mem_ctx ,
struct policy_handle * policy_handle /* [in] [ref] */ ,
struct lsa_TrustDomainInfoInfoEx * info /* [in] [ref] */ ,
struct lsa_TrustDomainInfoAuthInfoInternal * auth_info /* [in] [ref] */ ,
uint32_t access_mask /* [in] */ ,
struct policy_handle * trustdom_handle /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_CREDRWRITE ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_CREDRREAD ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_CREDRENUMERATE ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_CREDRWRITEDOMAINCREDENTIALS ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_CREDRREADDOMAINCREDENTIALS ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_CREDRDELETE ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_CREDRGETTARGETINFO ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_CREDRPROFILELOADED ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_LookupNames3 ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
uint32_t num_names /* [in] [range(0,1000)] */ ,
struct lsa_String * names /* [in] [size_is(num_names)] */ ,
struct lsa_RefDomainList * * domains /* [out] [ref] */ ,
struct lsa_TransSidArray3 * sids /* [in,out] [ref] */ ,
enum lsa_LookupNamesLevel level /* [in] */ ,
uint32_t * count /* [in,out] [ref] */ ,
2008-10-15 18:49:03 +02:00
uint32_t lookup_options /* [in] */ ,
uint32_t client_revision /* [in] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_CREDRGETSESSIONTYPES ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_LSARREGISTERAUDITEVENT ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_LSARGENAUDITEVENT ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_LSARUNREGISTERAUDITEVENT ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
2008-01-16 16:31:49 +01:00
NTSTATUS rpccli_lsa_lsaRQueryForestTrustInformation ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct policy_handle * handle /* [in] [ref] */ ,
struct lsa_String * trusted_domain_name /* [in] [ref] */ ,
uint16_t unknown /* [in] */ ,
struct lsa_ForestTrustInformation * * forest_trust_info /* [out] [ref] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_LSARSETFORESTTRUSTINFORMATION ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_CREDRRENAME ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_LookupSids3 ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
struct lsa_SidArray * sids /* [in] [ref] */ ,
struct lsa_RefDomainList * * domains /* [out] [ref] */ ,
struct lsa_TransNameArray2 * names /* [in,out] [ref] */ ,
uint16_t level /* [in] */ ,
uint32_t * count /* [in,out] [ref] */ ,
uint32_t unknown1 /* [in] */ ,
uint32_t unknown2 /* [in] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_LookupNames4 ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 17:52:33 +01:00
uint32_t num_names /* [in] [range(0,1000)] */ ,
struct lsa_String * names /* [in] [size_is(num_names)] */ ,
struct lsa_RefDomainList * * domains /* [out] [ref] */ ,
struct lsa_TransSidArray3 * sids /* [in,out] [ref] */ ,
enum lsa_LookupNamesLevel level /* [in] */ ,
uint32_t * count /* [in,out] [ref] */ ,
2008-10-15 18:49:03 +02:00
uint32_t lookup_options /* [in] */ ,
uint32_t client_revision /* [in] */ ) ;
2008-01-09 11:59:11 +01:00
NTSTATUS rpccli_lsa_LSAROPENPOLICYSCE ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_LSARADTREGISTERSECURITYEVENTSOURCE ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
NTSTATUS rpccli_lsa_LSARADTREPORTSECURITYEVENT ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ) ;
2006-09-08 14:28:06 +00:00
# endif /* __CLI_LSARPC__ */