s4-upgradeprovision: add a list of attribute that are not DSDB attribute that we...
authorMatthieu Patou <mat@matws.net>
Mon, 13 Jun 2011 21:39:41 +0000 (01:39 +0400)
committerMatthieu Patou <mat@samba.org>
Sun, 19 Jun 2011 21:21:08 +0000 (23:21 +0200)
source4/scripting/bin/upgradeprovision

index b214c4c8fd3f993d63d50b6c4e4671d9755c944c..e2d5cb0fb871c0093c445504795fd531ebd5d79b 100755 (executable)
@@ -94,8 +94,12 @@ replAttrNotCopied = [   "dn", "whenCreated", "whenChanged", "objectGUID",
 nonreplAttrNotCopied = ["uSNCreated", "replPropertyMetaData", "uSNChanged",
                         "nextRid" ,"rIDNextRID"]
 
+nonDSDBAttrNotCopied = ["msDS-KeyVersionNumber", "priorSecret", "priorWhenChanged"]
+
+
 attrNotCopied = replAttrNotCopied
 attrNotCopied.extend(nonreplAttrNotCopied)
+attrNotCopied.extend(nonDSDBAttrNotCopied)
 # Usually for an object that already exists we do not overwrite attributes as
 # they might have been changed for good reasons. Anyway for a few of them it's
 # mandatory to replace them otherwise the provision will be broken somehow.