summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-21 23:52:14 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-24 01:51:00 -0600
commitdb225eeef1ff06df44dbc4d8af618c96530157c1 (patch)
tree795c334931d3ce90f488a6de57e6390eefcfed07 /source4
parentbc603538a4a37cc29f116a1a6a1deed1188b97af (diff)
downloadsamba-db225eeef1ff06df44dbc4d8af618c96530157c1.tar.gz
samba-db225eeef1ff06df44dbc4d8af618c96530157c1.tar.bz2
samba-db225eeef1ff06df44dbc4d8af618c96530157c1.zip
r26558: Add IDL for netr_GetForestTrustInformation().
Guenther (This used to be commit 7aa34b48795d303ba600f34a4b1bc916007aee44)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/netlogon.idl9
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c8
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);
}