summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/upgradeprovision
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/bin/upgradeprovision')
-rwxr-xr-xsource4/scripting/bin/upgradeprovision3
1 files changed, 3 insertions, 0 deletions
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: