mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
s3-rpc_client: make dcerpc_lsa_lookup_names_generic() public.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
2d38154f91
commit
3c486dfee4
@ -541,17 +541,17 @@ NTSTATUS dcerpc_lsa_lookup_sids3(struct dcerpc_binding_handle *h,
|
||||
|
||||
/** Lookup a list of names */
|
||||
|
||||
static NTSTATUS dcerpc_lsa_lookup_names_generic(struct dcerpc_binding_handle *h,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *pol,
|
||||
uint32_t num_names,
|
||||
const char **names,
|
||||
const char ***dom_names,
|
||||
enum lsa_LookupNamesLevel level,
|
||||
struct dom_sid **sids,
|
||||
enum lsa_SidType **types,
|
||||
bool use_lookupnames4,
|
||||
NTSTATUS *presult)
|
||||
NTSTATUS dcerpc_lsa_lookup_names_generic(struct dcerpc_binding_handle *h,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *pol,
|
||||
uint32_t num_names,
|
||||
const char **names,
|
||||
const char ***dom_names,
|
||||
enum lsa_LookupNamesLevel level,
|
||||
struct dom_sid **sids,
|
||||
enum lsa_SidType **types,
|
||||
bool use_lookupnames4,
|
||||
NTSTATUS *presult)
|
||||
{
|
||||
NTSTATUS status;
|
||||
struct lsa_String *lsa_names = NULL;
|
||||
|
@ -196,6 +196,17 @@ NTSTATUS dcerpc_lsa_lookup_names4(struct dcerpc_binding_handle *h,
|
||||
struct dom_sid **sids,
|
||||
enum lsa_SidType **types,
|
||||
NTSTATUS *result);
|
||||
NTSTATUS dcerpc_lsa_lookup_names_generic(struct dcerpc_binding_handle *h,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *pol,
|
||||
uint32_t num_names,
|
||||
const char **names,
|
||||
const char ***dom_names,
|
||||
enum lsa_LookupNamesLevel level,
|
||||
struct dom_sid **sids,
|
||||
enum lsa_SidType **types,
|
||||
bool use_lookupnames4,
|
||||
NTSTATUS *presult);
|
||||
|
||||
bool fetch_domain_sid( char *domain, char *remote_machine, struct dom_sid *psid);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user