From 37dbfaebc7a31a6c44d51003770945cb4dab8848 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 17 Jun 2010 16:06:34 +0200 Subject: s3-winbind: Added a common rpc_name_to_sid function. --- source3/winbindd/winbindd_rpc.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/winbindd/winbindd_rpc.h') diff --git a/source3/winbindd/winbindd_rpc.h b/source3/winbindd/winbindd_rpc.h index 5ba5bf4ce55..99006d46553 100644 --- a/source3/winbindd/winbindd_rpc.h +++ b/source3/winbindd/winbindd_rpc.h @@ -47,4 +47,14 @@ NTSTATUS rpc_enum_local_groups(TALLOC_CTX *mem_ctx, uint32_t *pnum_info, struct acct_info **pinfo); +/* Convert a single name to a sid in a domain */ +NTSTATUS rpc_name_to_sid(TALLOC_CTX *mem_ctx, + struct rpc_pipe_client *lsa_pipe, + struct policy_handle *lsa_policy, + const char *domain_name, + const char *name, + uint32_t flags, + struct dom_sid *psid, + enum lsa_SidType *ptype); + #endif /* _WINBINDD_RPC_H_ */ -- cgit v1.2.1