summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_rpc.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-17 16:06:34 +0200
committerAndreas Schneider <asn@samba.org>2010-07-05 15:59:10 +0200
commit37dbfaebc7a31a6c44d51003770945cb4dab8848 (patch)
tree18dd0f779c3f2e38a340c77930d0ab3311ec49dc /source3/winbindd/winbindd_rpc.h
parent01730e4b471b7ccf699f9435b87a997980156c37 (diff)
downloadsamba-37dbfaebc7a31a6c44d51003770945cb4dab8848.tar.gz
samba-37dbfaebc7a31a6c44d51003770945cb4dab8848.tar.bz2
samba-37dbfaebc7a31a6c44d51003770945cb4dab8848.zip
s3-winbind: Added a common rpc_name_to_sid function.
Diffstat (limited to 'source3/winbindd/winbindd_rpc.h')
-rw-r--r--source3/winbindd/winbindd_rpc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_rpc.h b/source3/winbindd/winbindd_rpc.h
index 5ba5bf4ce5..99006d4655 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_ */