summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_rpc.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-17 19:31:51 +0200
committerAndreas Schneider <asn@samba.org>2010-07-05 15:59:11 +0200
commitfd79bc9a58ccb06f59cda1f42fe9067f3f8af473 (patch)
treea6c1e762379466266c99045906c3a6ae80b167ae /source3/winbindd/winbindd_rpc.h
parentaa745bedd3c9862c793d2d2dbaa70ff85ea40614 (diff)
downloadsamba-fd79bc9a58ccb06f59cda1f42fe9067f3f8af473.tar.gz
samba-fd79bc9a58ccb06f59cda1f42fe9067f3f8af473.tar.bz2
samba-fd79bc9a58ccb06f59cda1f42fe9067f3f8af473.zip
s3-winbind: Added a common rpc_rids_to_names function.
Diffstat (limited to 'source3/winbindd/winbindd_rpc.h')
-rw-r--r--source3/winbindd/winbindd_rpc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_rpc.h b/source3/winbindd/winbindd_rpc.h
index e0658a3505..15ad6dab89 100644
--- a/source3/winbindd/winbindd_rpc.h
+++ b/source3/winbindd/winbindd_rpc.h
@@ -67,4 +67,16 @@ NTSTATUS rpc_sid_to_name(TALLOC_CTX *mem_ctx,
char **pname,
enum lsa_SidType *ptype);
+/* Convert a bunch of rids to user or group names */
+NTSTATUS rpc_rids_to_names(TALLOC_CTX *mem_ctx,
+ struct rpc_pipe_client *lsa_pipe,
+ struct policy_handle *lsa_policy,
+ struct winbindd_domain *domain,
+ const struct dom_sid *sid,
+ uint32_t *rids,
+ size_t num_rids,
+ char **pdomain_name,
+ char ***pnames,
+ enum lsa_SidType **ptypes);
+
#endif /* _WINBINDD_RPC_H_ */