summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Morrison <luc785@hotmail.com>2014-02-07 15:57:14 +1300
committerGarming Sam <garming@samba.org>2017-11-20 21:41:14 +0100
commit50a64b7ce95a353676669cfe4030b1451962ee6f (patch)
tree2dcebf926c9b07d5a3ec53363f9326659dfcf483
parent377c0681e1ae531a02aa1bbbb6dbda96cf81303d (diff)
downloadsamba-50a64b7ce95a353676669cfe4030b1451962ee6f.tar.gz
gpo: enable gpo update with addition to build system
Split from "Initial commit for GPO work done by Luke Morrison" by Garming Sam Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Luke Morrison <luke@hubtrek.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source3/wscript_build19
-rw-r--r--source4/dsdb/wscript_build9
-rw-r--r--wscript_build1
3 files changed, 10 insertions, 19 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 8718e9b9558..f13429d1ea0 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -76,25 +76,6 @@ bld.SAMBA3_LIBRARY('msrpc3',
''',
private_library=True)
-bld.SAMBA3_LIBRARY('gpo',
- source='''
- ../libgpo/gpo_ldap.c
- ../libgpo/gpo_ini.c
- ../libgpo/gpo_util.c
- ../libgpo/gpo_fetch.c
- ../libgpo/gpo_filesync.c
- ../libgpo/gpo_sec.c
- ../libgpo/gpo_reg.c
- ''',
- deps='''
- talloc
- ads
- TOKEN_UTIL
- gpext
- auth
- ''',
- private_library=True)
-
bld.SAMBA3_SUBSYSTEM('AVAHI',
source='''
lib/avahi.c
diff --git a/source4/dsdb/wscript_build b/source4/dsdb/wscript_build
index 29c6f0e4a70..328497c8590 100644
--- a/source4/dsdb/wscript_build
+++ b/source4/dsdb/wscript_build
@@ -62,6 +62,15 @@ bld.SAMBA_MODULE('service_dns_update',
enabled=bld.AD_DC_BUILD_IS_ENABLED()
)
+bld.SAMBA_MODULE('service_gpo_update',
+ source='gpo/gpo_update.c',
+ subsystem='service',
+ init_function='server_service_gpoupdate_init',
+ deps='samdb UTIL_RUNCMD samba-util ldb samdb-common samba-errors talloc auth_system_session samba-hostconfig',
+ internal_module=False,
+ enabled=bld.AD_DC_BUILD_IS_ENABLED()
+ )
+
bld.SAMBA_PYTHON('python_dsdb',
source='pydsdb.c',
# the dependency on dcerpc here is because gensec
diff --git a/wscript_build b/wscript_build
index 8758b6d5789..52f8de1c13b 100644
--- a/wscript_build
+++ b/wscript_build
@@ -87,6 +87,7 @@ bld.RECURSE('lib/tdr')
bld.RECURSE('lib/tsocket')
bld.RECURSE('lib/crypto')
bld.RECURSE('lib/torture')
+bld.RECURSE('libgpo')
bld.RECURSE('source4/lib/com')
bld.RECURSE('source4/dns_server')
bld.RECURSE('source4/echo_server')