summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_rpc.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-21 11:13:25 +0200
committerAndreas Schneider <asn@samba.org>2010-07-05 15:59:14 +0200
commit9c372a145dacfabd14dd86b6dbc458f20ce73fe9 (patch)
treef3133877b2a5d401b21e416e39a67bb10e3833bf /source3/winbindd/winbindd_rpc.h
parentb8a0b95e74bf4e57d5ee5e15a91c7b27f7edd3c6 (diff)
downloadsamba-9c372a145dacfabd14dd86b6dbc458f20ce73fe9.tar.gz
samba-9c372a145dacfabd14dd86b6dbc458f20ce73fe9.tar.bz2
samba-9c372a145dacfabd14dd86b6dbc458f20ce73fe9.zip
s3-winbind: Added a common rpc_trusted_domains function.
Diffstat (limited to 'source3/winbindd/winbindd_rpc.h')
-rw-r--r--source3/winbindd/winbindd_rpc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_rpc.h b/source3/winbindd/winbindd_rpc.h
index fb1abd0575..42405df6e0 100644
--- a/source3/winbindd/winbindd_rpc.h
+++ b/source3/winbindd/winbindd_rpc.h
@@ -124,4 +124,11 @@ NTSTATUS rpc_sequence_number(TALLOC_CTX *mem_ctx,
const char *domain_name,
uint32_t *pseq);
+/* Get a list of trusted domains */
+NTSTATUS rpc_trusted_domains(TALLOC_CTX *mem_ctx,
+ struct rpc_pipe_client *lsa_pipe,
+ struct policy_handle *lsa_policy,
+ uint32_t *pnum_trusts,
+ struct netr_DomainTrust **ptrusts);
+
#endif /* _WINBINDD_RPC_H_ */