From f7a903ee8085bb041cae8fdf603997e66245f35f Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Tue, 14 Jun 2011 01:39:41 +0400 Subject: s4-upgradeprovision: add a list of attribute that are not DSDB attribute that we don't want to copy --- source4/scripting/bin/upgradeprovision | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/scripting/bin/upgradeprovision') diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision index b214c4c8fd..e2d5cb0fb8 100755 --- a/source4/scripting/bin/upgradeprovision +++ b/source4/scripting/bin/upgradeprovision @@ -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. -- cgit