diff options
author | Matthieu Patou <mat@matws.net> | 2011-06-14 01:39:41 +0400 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2011-06-19 23:21:08 +0200 |
commit | f7a903ee8085bb041cae8fdf603997e66245f35f (patch) | |
tree | 25d22b94561547ffd3d679d32a36a4a266f425e4 /source4/scripting/bin | |
parent | 245b27774995b6ee8aef4b14bb3dc5518fc733d1 (diff) | |
download | samba-f7a903ee8085bb041cae8fdf603997e66245f35f.tar.gz samba-f7a903ee8085bb041cae8fdf603997e66245f35f.tar.bz2 samba-f7a903ee8085bb041cae8fdf603997e66245f35f.zip |
s4-upgradeprovision: add a list of attribute that are not DSDB attribute that we don't want to copy
Diffstat (limited to 'source4/scripting/bin')
-rwxr-xr-x | source4/scripting/bin/upgradeprovision | 4 |
1 files changed, 4 insertions, 0 deletions
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. |