summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-01-23 13:07:14 +0100
committerStefan Metzmacher <metze@samba.org>2015-07-08 18:38:22 +0200
commit56c7f885a58a3d69350a90d90687f22a5f9794e2 (patch)
treef814449ea3935cb341ceef8dcb09341012a7b12e /librpc
parent70cea2b85c3adbc3f43aa05a3135898361bbed44 (diff)
downloadsamba-56c7f885a58a3d69350a90d90687f22a5f9794e2.tar.gz
librpc/idl: add winbind_GetForestTrustInformation()
This will be used by the netr_DrsGetForestTrustInformation() in order to contact remote domains via winbindd. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/winbind.idl9
1 files changed, 9 insertions, 0 deletions
diff --git a/librpc/idl/winbind.idl b/librpc/idl/winbind.idl
index 92ac6ed4162..5b6195022a6 100644
--- a/librpc/idl/winbind.idl
+++ b/librpc/idl/winbind.idl
@@ -205,4 +205,13 @@ interface winbind
[in,ref][switch_is(function_code)] netr_CONTROL_DATA_INFORMATION *data,
[out,ref][switch_is(level)] netr_CONTROL_QUERY_INFORMATION *query
);
+
+ /*
+ * do a netr_GetForestTrustInformation() against the right DC
+ */
+ WERROR winbind_GetForestTrustInformation(
+ [in,unique] [string,charset(UTF16)] uint16 *trusted_domain_name,
+ [in] uint32 flags,
+ [out,ref] lsa_ForestTrustInformation **forest_trust_info
+ );
}