summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_rpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd_rpc.h')
-rw-r--r--source3/winbindd/winbindd_rpc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_rpc.h b/source3/winbindd/winbindd_rpc.h
index 15ad6dab89..6d888e6c7e 100644
--- a/source3/winbindd/winbindd_rpc.h
+++ b/source3/winbindd/winbindd_rpc.h
@@ -79,4 +79,12 @@ NTSTATUS rpc_rids_to_names(TALLOC_CTX *mem_ctx,
char ***pnames,
enum lsa_SidType **ptypes);
+/* Lookup user information from a rid or username. */
+NTSTATUS rpc_query_user(TALLOC_CTX *mem_ctx,
+ struct rpc_pipe_client *samr_pipe,
+ struct policy_handle *samr_policy,
+ const struct dom_sid *domain_sid,
+ const struct dom_sid *user_sid,
+ struct wbint_userinfo *user_info);
+
#endif /* _WINBINDD_RPC_H_ */