summaryrefslogtreecommitdiff
path: root/source4/scripting/bin
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-09-07 17:50:39 +0400
committerMatthieu Patou <mat@matws.net>2010-09-26 06:22:43 +0400
commit3c95d4d31347a2491d2c2f593f2e12f9a389e66c (patch)
tree107391a2ec219df92a256d7914346702c305494e /source4/scripting/bin
parentdfa468fd088b30ed1dfdbaabd6b569c600838706 (diff)
downloadsamba-3c95d4d31347a2491d2c2f593f2e12f9a389e66c.tar.gz
samba-3c95d4d31347a2491d2c2f593f2e12f9a389e66c.tar.bz2
samba-3c95d4d31347a2491d2c2f593f2e12f9a389e66c.zip
s4 upgradeprovision: Copy versionNumber if not present it helps to make gpo valid
Diffstat (limited to 'source4/scripting/bin')
-rwxr-xr-xsource4/scripting/bin/upgradeprovision6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index 6697c821f9..3c02569ba3 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -88,7 +88,7 @@ hashAttrNotCopied = { "dn": 1, "whenCreated": 1, "whenChanged": 1,
"distinguishedName": 1, "nTMixedDomain": 1,
"showInAdvancedViewOnly": 1, "instanceType": 1,
"msDS-Behavior-Version":1, "nextRid":1, "cn": 1,
- "versionNumber":1, "lmPwdHistory":1, "pwdLastSet": 1,
+ "lmPwdHistory":1, "pwdLastSet": 1,
"ntPwdHistory":1, "unicodePwd":1,"dBCSPwd":1,
"supplementalCredentials":1, "gPCUserExtensionNames":1,
"gPCMachineExtensionNames":1,"maxPwdAge":1, "secret":1,
@@ -111,8 +111,8 @@ hashOverwrittenAtt = { "prefixMap": replace, "systemMayContain": replace,
"rIDNextRID": add, "rIDUsedPool": never,
"defaultSecurityDescriptor": replace + add,
"isMemberOfPartialAttributeSet": delete,
- "attributeDisplayNames": replace + add}
-
+ "attributeDisplayNames": replace + add,
+ "versionNumber": add}
backlinked = []
forwardlinked = set()