summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-06-13 22:59:35 +0400
committerMatthieu Patou <mat@samba.org>2011-06-19 23:21:08 +0200
commit0e729149259055e9310c1dee78fce71a744006ab (patch)
tree4318b09a78927f3746c12f48f95fafc36884e1cf /source4
parentf76c206e2fd9af47767816e6b284e3742672b21a (diff)
downloadsamba-0e729149259055e9310c1dee78fce71a744006ab.tar.gz
samba-0e729149259055e9310c1dee78fce71a744006ab.tar.bz2
samba-0e729149259055e9310c1dee78fce71a744006ab.zip
s4-upgradeprovision: dn must be skipped as delta.remove("dn") do not remove this attribute
Diffstat (limited to 'source4')
-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: