From 411e6bc3f2d18c675475113fbab6c586204472be Mon Sep 17 00:00:00 2001 From: Anatoliy Atanasov Date: Thu, 23 Sep 2010 11:39:47 -0700 Subject: s4/eventlog6: Build and hook EventLog6 RPC endpont mapper and idl --- source4/rpc_server/config.mk | 14 ++++++++++++++ source4/rpc_server/dcerpc_server.c | 1 + source4/rpc_server/wscript_build | 6 ++++++ 3 files changed, 21 insertions(+) (limited to 'source4/rpc_server') 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 @@ -204,6 +204,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] 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', -- cgit