From db225eeef1ff06df44dbc4d8af618c96530157c1 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 21 Dec 2007 23:52:14 -0600 Subject: r26558: Add IDL for netr_GetForestTrustInformation(). Guenther (This used to be commit 7aa34b48795d303ba600f34a4b1bc916007aee44) --- source4/librpc/idl/netlogon.idl | 9 ++++++++- source4/rpc_server/netlogon/dcerpc_netlogon.c | 8 ++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index 5285ee15ed..96aab3a807 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -1294,7 +1294,14 @@ interface netlogon /****************/ /* Function 0x2c */ - WERROR netr_NETRGETFORESTTRUSTINFORMATION(); + WERROR netr_GetForestTrustInformation( + [in] [string,charset(UTF16)] uint16 *server_name, + [in,ref] [string,charset(UTF16)] uint16 *trusted_domain_name, + [in,ref] netr_Authenticator *credential, + [out,ref] netr_Authenticator *return_authenticator, + [in] uint32 flags, + [out,ref] lsa_ForestTrustInformation **forest_trust_info + ); /****************/ /* Function 0x2d */ diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index 25f9939576..1ef50cd96f 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -1237,11 +1237,11 @@ static WERROR dcesrv_netr_DsRGetForestTrustInformation(struct dcesrv_call_state } -/* - netr_NETRGETFORESTTRUSTINFORMATION +/* + netr_GetForestTrustInformation */ -static WERROR dcesrv_netr_NETRGETFORESTTRUSTINFORMATION(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, - struct netr_NETRGETFORESTTRUSTINFORMATION *r) +static WERROR dcesrv_netr_GetForestTrustInformation(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct netr_GetForestTrustInformation *r) { DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); } -- cgit