python:upgrade/upgradeprovision: use dn.copy to align ldbs
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sun, 17 Mar 2024 05:07:44 +0000 (18:07 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 10 Apr 2024 05:13:32 +0000 (05:13 +0000)
commitd38a9e93cf3444d7fe3939728673a637a03eb819
tree8542e2cc3377d7575f8e47f4b4e337d947f85810
parent345eb854c3b03a3c8e0e19fba0edb9eafd055ab9
python:upgrade/upgradeprovision: use dn.copy to align ldbs

We need to do this when the dn is on a message from another ldb.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/upgrade.py
python/samba/upgradehelpers.py
source4/scripting/bin/samba_upgradeprovision