mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
779d0f0271
Much of samba-tool can operate without the full AD DC, for remote operations. However the samba-tool gpo command depends on ads being built. Without ads, every samba-tool command crashes because ads imports fail. Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
15 lines
585 B
Python
15 lines
585 B
Python
#!/usr/bin/env python3
|
|
|
|
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
|
|
for script in ['samba_dnsupdate',
|
|
'samba_spnupdate',
|
|
'samba_kcc',
|
|
'samba_upgradeprovision',
|
|
'samba_upgradedns',
|
|
'gen_output.py',
|
|
'samba_downgrade_db']:
|
|
bld.SAMBA_SCRIPT(script, pattern=script, installdir='.')
|
|
if bld.CONFIG_SET('WITH_ADS'):
|
|
bld.SAMBA_SCRIPT('samba-tool', pattern='samba-tool', installdir='.')
|
|
bld.SAMBA_SCRIPT('samba-gpupdate', pattern='samba-gpupdate', installdir='.')
|