2010-05-18 18:26:16 +02:00
/* 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 ,
2010-05-21 11:25:01 +10:00
const struct dom_sid * sids ,
2010-05-18 18:26:16 +02:00
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 ,
2010-05-21 11:25:01 +10:00
const struct dom_sid * sids ,
2010-05-18 18:26:16 +02:00
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 ,
2010-05-21 11:25:01 +10:00
struct dom_sid * * sids ,
2010-05-18 18:26:16 +02:00
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 ,
2010-05-21 11:25:01 +10:00
struct dom_sid * * sids ,
2010-05-18 18:26:16 +02:00
enum lsa_SidType * * types ) ;
2010-05-21 11:25:01 +10:00
bool fetch_domain_sid ( char * domain , char * remote_machine , struct dom_sid * psid ) ;
2010-05-18 18:26:16 +02:00