svn commit: samba r15892 - in branches/SAMBA_4_0/source: lib pidl rpc_server torture

jelmer at samba.org jelmer at samba.org
Thu May 25 19:34:06 GMT 2006


Author: jelmer
Date: 2006-05-25 19:34:05 +0000 (Thu, 25 May 2006)
New Revision: 15892

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

Log:
Remove the COM management code - DCOM should be 
based on Mono and its' COM support and utilize Samba's DCE/RPC + ORPC code 
instead of having our own COM implementation in Samba, which is too much 
work to implement and harder to code (C).

This only removes some of the code that I started working on to implement 
the bits of COM I thought were needed to support DCOM from just Samba. This 
code has never functioned properly, contains a couple of nasty hacks and 
there should be no reason to pick it up again later, the processes are all 
documented in the DCOM whitepaper.

This does NOT remove the marshalling code for the ORPC code or the torture 
code that tested some of the ORPC code.


Removed:
   branches/SAMBA_4_0/source/lib/com/
   branches/SAMBA_4_0/source/rpc_server/dcom/
   branches/SAMBA_4_0/source/torture/com/
Modified:
   branches/SAMBA_4_0/source/lib/basic.mk
   branches/SAMBA_4_0/source/pidl/TODO
   branches/SAMBA_4_0/source/rpc_server/config.mk
   branches/SAMBA_4_0/source/torture/config.mk
   branches/SAMBA_4_0/source/torture/torture.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/basic.mk
===================================================================
--- branches/SAMBA_4_0/source/lib/basic.mk	2006-05-25 15:48:22 UTC (rev 15891)
+++ branches/SAMBA_4_0/source/lib/basic.mk	2006-05-25 19:34:05 UTC (rev 15892)
@@ -1,5 +1,4 @@
 # LIB BASIC subsystem
-include com/config.mk
 include samba3/config.mk
 include socket/config.mk
 include charset/config.mk

Modified: branches/SAMBA_4_0/source/pidl/TODO
===================================================================
--- branches/SAMBA_4_0/source/pidl/TODO	2006-05-25 15:48:22 UTC (rev 15891)
+++ branches/SAMBA_4_0/source/pidl/TODO	2006-05-25 19:34:05 UTC (rev 15892)
@@ -3,14 +3,9 @@
 - compatibility mode for generating MIDL-readable data:
  - strip out pidl-specific properties
 
-- don't be so strict on array boundaries.. arrays can and will be empty when 
-  a (regular) remote error occurs
- 
 - support nested elements
  - generate names for anonymous tagged types
 
-- auto-alloc [ref] pointers for Samba4 during pull if they were NULL
- 
 - improve represent_as()
 
 - --explain-ndr option that dumps out parse tree ?
@@ -18,3 +13,5 @@
 - seperate tables for NDR and DCE/RPC
 
 - allow data structures outside of interfaces
+
+- mem_ctx in the interface rather then as struct ndr member.

Modified: branches/SAMBA_4_0/source/rpc_server/config.mk
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/config.mk	2006-05-25 15:48:22 UTC (rev 15891)
+++ branches/SAMBA_4_0/source/rpc_server/config.mk	2006-05-25 19:34:05 UTC (rev 15892)
@@ -13,24 +13,6 @@
 ################################################
 
 ################################################
-# Start MODULE dcerpc_dcom
-[MODULE::dcerpc_dcom]
-ENABLE = NO
-INIT_FUNCTION = dcerpc_server_dcom_init
-SUBSYSTEM = dcerpc_server
-OBJ_FILES = \
-		dcom/oxidresolver.o \
-		dcom/rot.o \
-		dcom/rodb.o \
-		dcom/remact.o \
-		librpc/gen_ndr/ndr_dcom_d.o
-PUBLIC_DEPENDENCIES = \
-		DCERPC_COMMON \
-		dcom
-# End MODULE dcerpc_dcom
-################################################
-
-################################################
 # Start MODULE dcerpc_rpcecho
 [MODULE::dcerpc_rpcecho]
 INIT_FUNCTION = dcerpc_server_rpcecho_init

Modified: branches/SAMBA_4_0/source/torture/config.mk
===================================================================
--- branches/SAMBA_4_0/source/torture/config.mk	2006-05-25 15:48:22 UTC (rev 15891)
+++ branches/SAMBA_4_0/source/torture/config.mk	2006-05-25 19:34:05 UTC (rev 15892)
@@ -97,16 +97,6 @@
 
 include smb2/config.mk
 
-[MODULE::torture_com]
-INIT_FUNCTION = torture_com_init
-SUBSYSTEM = torture
-PRIVATE_PROTO_HEADER = \
-		com/proto.h
-OBJ_FILES = \
-		com/simple.o
-PUBLIC_DEPENDENCIES = \
-		com dcom POPT_CREDENTIALS
-
 [MODULE::torture_rpc]
 # TORTURE_NET and TORTURE_NBT use functions from torture_rpc...
 OUTPUT_TYPE = INTEGRATED

Modified: branches/SAMBA_4_0/source/torture/torture.c
===================================================================
--- branches/SAMBA_4_0/source/torture/torture.c	2006-05-25 15:48:22 UTC (rev 15891)
+++ branches/SAMBA_4_0/source/torture/torture.c	2006-05-25 19:34:05 UTC (rev 15892)
@@ -42,7 +42,6 @@
 #include "torture/local/proto.h"
 #include "torture/nbench/proto.h"
 #include "torture/ldap/proto.h"
-#include "torture/com/proto.h"
 #include "torture/nbt/proto.h"
 #include "torture/libnet/proto.h"
 #include "torture/util.h"



More information about the samba-cvs mailing list