svn commit: samba r23384 - in branches/SAMBA_4_0/source: librpc/idl rpc_server/netlogon

gd at samba.org gd at samba.org
Fri Jun 8 10:49:48 GMT 2007


Author: gd
Date: 2007-06-08 10:49:46 +0000 (Fri, 08 Jun 2007)
New Revision: 23384

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23384

Log:
Fill in NETLOGON netr_DsRGetForestTrustInformation().

Guenther

Modified:
   branches/SAMBA_4_0/source/librpc/idl/netlogon.idl
   branches/SAMBA_4_0/source/rpc_server/netlogon/dcerpc_netlogon.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/netlogon.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/netlogon.idl	2007-06-08 10:43:42 UTC (rev 23383)
+++ branches/SAMBA_4_0/source/librpc/idl/netlogon.idl	2007-06-08 10:49:46 UTC (rev 23384)
@@ -1227,8 +1227,16 @@
 
 	/****************/
 	/* 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 */
 	WERROR netr_NETRGETFORESTTRUSTINFORMATION();

Modified: branches/SAMBA_4_0/source/rpc_server/netlogon/dcerpc_netlogon.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/netlogon/dcerpc_netlogon.c	2007-06-08 10:43:42 UTC (rev 23383)
+++ branches/SAMBA_4_0/source/rpc_server/netlogon/dcerpc_netlogon.c	2007-06-08 10:49:46 UTC (rev 23384)
@@ -1214,10 +1214,10 @@
 
 
 /* 
-  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);
 }



More information about the samba-cvs mailing list