mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
cba7f8b827
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
45 lines
1.5 KiB
C
45 lines
1.5 KiB
C
/* 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 struct 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 struct 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,
|
|
struct 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,
|
|
struct dom_sid **sids,
|
|
enum lsa_SidType **types);
|
|
|
|
bool fetch_domain_sid( char *domain, char *remote_machine, struct dom_sid *psid);
|
|
|