mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
389197e7c3
This tool is an important part of the toolkit a Samba Team member can use to assist a user with the upgrade of a very old Samba 4.0 AD DC installation. However, like all powerful tools, it has sharp edges, and these need to have more protection added before we recommend the tool be used. The WHATSNEW already indicated that this tool should not be used but a large number of users have run it, and due to lack of testing in the past, some have run into bugs. While this tool can be run in debug modes, by default it simply fixes the database following a series of internal rule. This does a good job much of the time, but does not request permission in the way that dbcheck does, and will create extra objects for things like the DNS partitions. By removing this from the installed binaries, we provide another signal that it should not be used right now, until these matters are fixed and some clear documentation on how to safely use the tool can be written. Andrew Bartlett Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Mar 12 02:51:23 CET 2013 on sn-devel-104
20 lines
569 B
Python
20 lines
569 B
Python
#!/usr/bin/env python
|
|
|
|
from samba_utils import MODE_755
|
|
|
|
sbin_files = None
|
|
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
|
|
sbin_files = 'bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns bin/samba_kcc'
|
|
|
|
if sbin_files:
|
|
bld.INSTALL_FILES('${SBINDIR}',
|
|
sbin_files,
|
|
chmod=MODE_755, python_fixup=True, flat=True)
|
|
|
|
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
|
|
bld.INSTALL_FILES('${BINDIR}',
|
|
'bin/samba-tool',
|
|
chmod=MODE_755, python_fixup=True, flat=True)
|
|
|
|
bld.RECURSE('bin')
|