summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/scripting/bin/upgradeprovision5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index e2d5cb0fb8..bf06a3c4f7 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -882,9 +882,10 @@ def checkKeepAttributeWithMetadata(delta, att, message, reference, current,
dn = current[0].dn
for att in list(delta):
- if att == "dn":
- # dn is not removable
+ if att in ["dn", "objectSid"]:
+ delta.remove(att)
continue
+
# We have updated by provision usn information so let's exploit
# replMetadataProperties
if att in forwardlinked: