summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-06-08 10:49:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:14 -0500
commite4710c9dcfe54c610ea29b0bbed21ed17011274b (patch)
tree35a53f84d8e0542f529af1b584162229d21465b8 /source4
parent09a82db7ba2328e041189560986240ae1889fdf8 (diff)
downloadsamba-e4710c9dcfe54c610ea29b0bbed21ed17011274b.tar.gz
samba-e4710c9dcfe54c610ea29b0bbed21ed17011274b.tar.bz2
samba-e4710c9dcfe54c610ea29b0bbed21ed17011274b.zip
r23384: Fill in NETLOGON netr_DsRGetForestTrustInformation().
Guenther (This used to be commit 82477b311e2a7a51906d0c00d8714f545b12b0bd)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/netlogon.idl10
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c6
2 files changed, 12 insertions, 4 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index eede7ed035..c4998273fe 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -1227,7 +1227,15 @@ interface netlogon
/****************/
/* Function 0x2b */
- WERROR netr_DSRGETFORESTTRUSTINFORMATION();
+
+ const int DS_GFTI_UPDATE_TDO = 0x1;
+
+ WERROR netr_DsRGetForestTrustInformation(
+ [in] [string,charset(UTF16)] uint16 *server_name,
+ [in] [string,charset(UTF16)] uint16 *trusted_domain_name,
+ [in] uint32 flags,
+ [out,ref] lsa_ForestTrustInformation **forest_trust_info
+ );
/****************/
/* Function 0x2c */
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index 20f2959abc..4e699cdc49 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -1214,10 +1214,10 @@ static WERROR dcesrv_netr_NETRSERVERTRUSTPASSWORDSGET(struct dcesrv_call_state *
/*
- netr_DSRGETFORESTTRUSTINFORMATION
+ netr_DsRGetForestTrustInformation
*/
-static WERROR dcesrv_netr_DSRGETFORESTTRUSTINFORMATION(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
- struct netr_DSRGETFORESTTRUSTINFORMATION *r)
+static WERROR dcesrv_netr_DsRGetForestTrustInformation(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
+ struct netr_DsRGetForestTrustInformation *r)
{
DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
}