From add39bc40bc89d2f3fac86f1cddea3947caafbfa Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sat, 23 Oct 2010 21:57:16 +0400 Subject: upgradeprovision: update revision for forestupdate and domainupdate objects --- source4/scripting/bin/upgradeprovision | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision index dc81710ecd..cd3adc92c7 100755 --- a/source4/scripting/bin/upgradeprovision +++ b/source4/scripting/bin/upgradeprovision @@ -378,7 +378,10 @@ def handle_special_case(att, delta, new, old, usn, basedn, aldb): if (str(old[0].dn) == "%s" % (str(names.rootdn)) and att == "subRefs" and flag == FLAG_MOD_REPLACE): return True - + #Allow to change revision of ForestUpdates objects + if (att == "revision" or att == "objectVersion"): + if str(delta.dn).lower().find("domainupdates") and str(delta.dn).lower().find("forestupdates") > 0: + return True if str(delta.dn).endswith("CN=DisplaySpecifiers, %s" % names.configdn): return True -- cgit