summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/config.mk14
-rw-r--r--source4/rpc_server/dcerpc_server.c1
-rw-r--r--source4/rpc_server/wscript_build6
3 files changed, 21 insertions, 0 deletions
diff --git a/source4/rpc_server/config.mk b/source4/rpc_server/config.mk
index 5ff1bd5722..158c039223 100644
--- a/source4/rpc_server/config.mk
+++ b/source4/rpc_server/config.mk
@@ -205,6 +205,20 @@ PRIVATE_DEPENDENCIES = \
dcerpc_browser_OBJ_FILES = $(rpc_serversrcdir)/browser/dcesrv_browser.o
################################################
+# Start MODULE dcerpc_eventlog6
+[MODULE::dcerpc_eventlog6]
+INIT_FUNCTION = dcerpc_server_eventlog6_init
+SUBSYSTEM = dcerpc_server
+PRIVATE_DEPENDENCIES = \
+ SAMDB \
+ DCERPC_COMMON \
+ NDR_DRSUAPI
+# End MODULE dcerpc_eventlog6
+################################################
+
+dcerpc_browser_OBJ_FILES = $(rpc_serversrcdir)/eventlog/dcesrv_eventlog6.o
+
+################################################
# Start SUBSYSTEM dcerpc_server
[SUBSYSTEM::dcerpc_server]
PRIVATE_DEPENDENCIES = \
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index 7bd8dcaa2b..927766c793 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -1400,6 +1400,7 @@ void dcerpc_server_init(struct loadparm_context *lp_ctx)
extern NTSTATUS dcerpc_server_remote_init(void);
extern NTSTATUS dcerpc_server_lsa_init(void);
extern NTSTATUS dcerpc_server_browser_init(void);
+ extern NTSTATUS dcerpc_server_eventlog6_init(void);
init_module_fn static_init[] = { STATIC_dcerpc_server_MODULES };
init_module_fn *shared_init;
diff --git a/source4/rpc_server/wscript_build b/source4/rpc_server/wscript_build
index 5ba7ed6a2c..f0ce131e7a 100644
--- a/source4/rpc_server/wscript_build
+++ b/source4/rpc_server/wscript_build
@@ -117,6 +117,12 @@ bld.SAMBA_MODULE('dcerpc_browser',
deps='DCERPC_COMMON NDR_BROWSER'
)
+bld.SAMBA_MODULE('dcerpc_eventlog',
+ source='eventlog/dcesrv_eventlog6.c',
+ subsystem='dcerpc_server',
+ init_function='dcerpc_server_eventlog6_init',
+ deps='DCERPC_COMMON'
+ )
bld.SAMBA_LIBRARY('dcerpc_server',
source='dcerpc_server.c dcesrv_auth.c dcesrv_mgmt.c handles.c',