From 0e729149259055e9310c1dee78fce71a744006ab Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Mon, 13 Jun 2011 22:59:35 +0400 Subject: s4-upgradeprovision: dn must be skipped as delta.remove("dn") do not remove this attribute --- source4/scripting/bin/upgradeprovision | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4') diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision index c353fe0749..79cf97dce4 100755 --- a/source4/scripting/bin/upgradeprovision +++ b/source4/scripting/bin/upgradeprovision @@ -878,6 +878,9 @@ def checkKeepAttributeWithMetadata(delta, att, message, reference, current, dn = current[0].dn for att in list(delta): + if att == "dn": + # dn is not removable + continue # We have updated by provision usn information so let's exploit # replMetadataProperties if att in forwardlinked: -- cgit